parse a class into string json c# code example Example: string json to class c# var result = JsonConvert.DeserializeObject<YourClass>(jsonstring);