In LinqPad, trying to call .Dump()
on a Newtonsoft JSON.Net JObject
yields an exception:
RuntimeBinderException: 'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'Dump'.
This works for almost everything else in LinqPad. I'd like to figure out a method that will Dump out a Newtonsoft JObject
, just like other objects, showing property names, values, etc.
I've already figured out how to get it to dump the JSON string, but I'd like to see an object get output rather than just a text string.