write function to deserialize in c# code example
Example: deserialize json to object c#
dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonstring);
dynamic json = Newtonsoft.Json.JsonConvert.DeserializeObject(jsonstring);