Visual Studio: JSON visualizer when debugging

Viewed 11468

When debugging in Visual Studio 2010 and hovering over a variable name, I'm given the option to use 3 different built-in visualizers: Text, XML, & HTML.

Here is an example of what I'm referring to:

Visual studio debugger visualization screenshot

Since I'm doing more and more work with JSON based data, is there a JSON visualizer that I can install?

5 Answers

I know the question references specifically Visual Studio 2010, but at least in Visual Studio 2019, the JSON Visualizer is already integrated so you don't need any extension, I would say.

Just select the JSON Visualizer in variable's view context menu:

select JSON Visualizer

And then press the view button:

view a variable containing a JSON string

Related