Errors parsing JSON using Newtonsoft.Json

In additional to Connor Hilarides answer, it can be used including arrays:

JToken resultToken = JToken.Parse(unfilteredJSONData);

Both the properties in the "flags1" object are named "string", you can't define a property twice.

Edit: It seems that, at least in the latest nuget version, JObject.Parse skips over the error and properly parses the data! I hope you can make that work for you.

Here's an example of how you can do it:

Response result = JObject.Parse(unfilteredJSONData).ToObject<Response>();