About this extension
JSONovich pretty-prints JSON content of various types directly in a browser tab. It uses the browser's native JSON parser and a custom-built formatter to produce its output.

Normally, the browser would either prompt to download or display as plain text any JSON sent with the correct application/json mime-type. JSONovich makes working with and debugging output from web services easier by formatting JSON nicely inside the browser.
Developer comments
Features
  • Syntax highlighting of JSON elements. [since 0.1]
  • Indentation according to JSON object/array nesting level. [since 0.1]
  • Line numbering based on JSON nodes and brackets, long strings always count as a single line. [since 0.8]
  • Collapsible objects and arrays (whole line is clickable, not just a tiny +/- symbol). [since 1.5]
  • Subtle zebra-stripes for easier reading. [since 1.7]
  • Preserves formatting accurately when copying to clipboard, excluding line numbers. [since 0.9, broken in 1.7, fixed in 1.9.3]
  • Currently supports the following MIME types by default:
    The above list is customisable by user preferences. [since 1.8.2]
  • Supports loading JSON from files on disk with the following extensions by default:
    The above list is customisable by user preferences. [since 1.8.2]
  • Can override the default HTTP Accept header to either remove application/json or add it with a specific quality factor. [hosts since 1.9, URL match patterns since 1.99.4]
  • Options can be changed via the Add-ons Manager in Firefox 7+, Mobile 7+ and SeaMonkey 2.4+. [since 1.9]
  • Full support for documents served with unusual character sets as well as the official UTF8. [fixed in 1.9]

Testing
See it in action by trying some of the endpoints at JSON Test.

FAQ
  • What's with the weird name?
    JSONovich is named after Pavement member Bob Nastanovich primarily because he seems like a swell guy.
  • And the logo?
    That's called an Ambihelical Hexnut, an optical illusion similar to the impossible torus that is the JSON logo.

Bugs
To report a problem, please create an issue.

Translation
Feel free to add your language and send a pull request.

Development
A history of changes and the latest source code are available from our GitHub project.
Rate your experience
How are you enjoying JSONovich?
There are no ratings yet

Star rating saved