I have a JObject (I\'m using Json.Net) that I constructed with LINQ to JSON (also provided by the same library). When I call the ToString() method
JObject
ToString()
you can use JsonConvert.SerializeObject()
JsonConvert.SerializeObject()
JsonConvert.SerializeObject(myObject) // myObject is returned by JObject.Parse() method
JObject.Parse()