Skip to content

NMyVision/LinqPad.JsonVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Visualizer for LINQPad

Install

via NuGet:

PM> NMyVision.LinqPad.JsonVisualizer

Supports both LinqPad 5 and LinqPad 6

Usage

Dump results to a JSON tree with collapse and expand features.

var x = new
{
  name = new
  {
    firstname = "John",
    lastname = "Doe"
  },
  age = 55
};

x.DumpJson();

Produces the following output:

LinqPad Results

To view JSON results plan call static NMyVision.JsonVisualizer.DumpJson(item) method or call DumpJson extension method on any object instance. You will also need to add NMyVision.LinqPad.JsonVisualizer to namespaces list (use F4 to open the dialog). If you want to name the window pass a title as a second parameter.

JSON visualizer with a more complex output: missing indexes

License

MIT

Releases

No releases published

Packages

No packages published

Languages