c# convert string with \ to json code example
Example 1: string to json c#
JObject json = JObject.Parse(str);
Example 2: string json to class c#
var result = JsonConvert.DeserializeObject<YourClass>(jsonstring);
JObject json = JObject.Parse(str);
var result = JsonConvert.DeserializeObject<YourClass>(jsonstring);