JSON Viewer SourceForge is a plugin for JSON visualization and formatting. It is useful for indenting /formatting JSON documents and can be used to browse complex JSON file using a treeview tool.
The following image shows the commands offered by the plugin:
Starting from an unformatted JSON fragment (Example from http://www.json.org ):
{"glossary": {"title": "example glossary","GlossDiv": {"title": "S","GlossList": {"GlossEntry": {"ID": "SGML","SortAs": "SGML","GlossTerm": "Standard Generalized Markup Language","Acronym": "SGML","Abbrev": "ISO 8879:1986","GlossDef": {"para": "A meta-markup language, used to create markup languages such as DocBook.","GlossSeeAlso": ["GML", "XML"]},"GlossSee": "markup"}}}}}
To format and indent the code:
This is the resulting formatted code:
The plugin can also show a treeview browsable version of the JSON fragment:
The following screenshot shows how the plugin renders the JSON structure: