Deserialize an object from JSON text

suggest change
var json = "{\"Name\":\"Joe Smith\",\"Age\":21}";
var person = JsonConvert.DeserializeObject<Person>(json);

This yields a Person object with Name “Joe Smith” and Age 21.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents