A Safari extension which makes valid JSON documents human-readable.
Pull request Compare This branch is 26 commits behind rfletcher:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
JSON Formatter.safariextension
images
README.md
Update.plist

README.md

JSON Formatter

A Safari extension which makes valid JSON documents human-readable.

Before:

Before

After:

After

Installation

Download the extension and open it with Safari 5.

Usage

Once installed, load any valid JSON document. This project's most recent commit makes a good example.

Caveats

The extension aims to produce the same JSON string that's been loaded as input, but because the original JSON has actually been parsed, some transformation may occur. In other words, the formatted JSON will always be equivalent to the original JSON, but in rare circumstances it may not match exactly. The only known example of this is kind of discrepancy is between number formats -- if the original JSON contains the numeric value 1e2, for example, the formatted JSON will display the value 100.