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