2

My JSON string looks like this.

{"userid":26,
"Comment":"ok",
"registertime":"2016-11-12T17:02:23.51",
"Value":"[{\"codemeli\":\"11111\"
,\"birthday\":\"Nov 6, 2016 5:21:23 PM\",
\"comment\":\"it is a good file",
\"type\":\"active\"}]"}

When I use the Parse method like below I run into an error stated below:

JObject o = JObject.Parse(json);

error reading jobject from jsonreader. current jsonreader item is not an object startarray

How do I get rid of this error or is there any other method to parse my json string and fetch the values?

Rahul Singh
  • 21,585
  • 6
  • 41
  • 56
behnamhaji
  • 151
  • 7

0 Answers0