Since we all love one liners code
Newtonsoft is faster than java script serializer. ... this This one depends on the Newtonsoft NuGet package, which is popular and betterfaster than the default serializer.
if we have a class then we can use the below. code:
Mycustomclassname oMycustomclassname = Newtonsoft.Json.JsonConvert.DeserializeObject<Mycustomclassname>(jsonString);
if no class then use dynamic:
var oMycustomclassname = Newtonsoft.Json.JsonConvert.DeserializeObject<dynamic>(jsonString);