You can use the Newtonsoft.Json
library to parse the JSON string as follows:
main.cs497 chars17 lines
This code will output:
main.cs34 chars3 lines
Note that the field
property contains an array, so we access its first element with [0]
.
gistlibby LogSnag