JSON to C# Object (JSON Deserializer)
deserializing the JSON document back to a c# object?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #816 · 2.8K reputationPosted Nov 27, 2019, 11:22 PM EST
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Nov 27, 2019, 11:25 PM EST
You have first install the Newtonsoft.Json package from nuget
and after use below code
var result = JsonConvert.DeserializeObject
If you don't know what is the json string then you can use below code
var result = JsonConvert.DeserializeObject
Dhara Patel108 reputationPosted Nov 27, 2019, 11:57 PM EST
Ashutosh GuptaRank #805 · 2.9K reputationPosted Nov 28, 2019, 5:36 AM EST
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 28, 2019, 6:48 PM EST