Use
var rootObject = JsonConvert.DeserializeObject<RootObject>(string json);
Create your classes on JSON 2 C#
Json.NET documentation: Serializing and Deserializing JSON with Json.NET
More Related Contents:
- How can I parse JSON with C#?
- How to implement custom JsonConverter in JSON.NET?
- Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)
- Can I specify a path in an attribute to map a property in my class to a child property in my JSON?
- How can I deserialize JSON with C#?
- Deserialize nested JSON into C# objects
- Handling decimal values in Newtonsoft.Json
- multiple JsonProperty Name assigned to single property
- Deserializing heterogenous JSON array into covariant List using Json.NET
- Newtonsoft Json Deserialize Dictionary as Key/Value list from DataContractJsonSerializer
- Json.NET: Deserializing nested dictionaries
- NewtonSoft.Json Serialize and Deserialize class with property of type IEnumerable
- Json.Net: Serialize/Deserialize property as a value, not as an object
- Custom Deserialization using Json.NET
- How can I serialize and deserialize a type with a string member that contains “raw” JSON, without escaping the JSON in the process
- Configure JSON.NET to ignore DataContract/DataMember attributes
- JToken: Get raw/original JSON value
- Force JSON.NET to include milliseconds when serializing DateTime (even if ms component is zero)
- Additional text encountered after finished reading JSON content:
- Newtonsoft.Json SerializeObject without escape backslashes
- Custom json serialization for each item in IEnumerable [duplicate]
- How do I get a deeply-nested property from JSON string?
- Serializing an interface/abstract object using NewtonSoft.JSON
- JSonNet boolean serialization
- How do C# classes deal with dollar signs in JSON?
- How to convert c# generic list to json using json.net?
- JSON Deserialization – String Is Automatically Converted To Int
- Json.net rename properties
- Newtonsoft JSON for .net is ignoring jsonproperty tags
- How to convert JSON to XML or XML to JSON in C#?