What is being dumped when expanding Json.NET scalar values?
LINQPad Version: 5.40.0 Any CPU (beta)
Json.NET Version: 12.0.2
I noticed that when dumping Json.NET JObjects that have string values, it's rendered as an on-demand link. Clicking on it outputs an empty collection.
What exactly is being dumped here? It's just a string. Is this a bug?
edit:
It seems to do this for all scalar values actually.
Json.NET Version: 12.0.2
I noticed that when dumping Json.NET JObjects that have string values, it's rendered as an on-demand link. Clicking on it outputs an empty collection.
What exactly is being dumped here? It's just a string. Is this a bug?
edit:
It seems to do this for all scalar values actually.
Comments
I might "fix" this in LINQPad 6 by special-casing the handling of Newtonsoft.JValue so that ignores the enumeration of IEnumerable if there are no members.