Large

JSON formatter

By Martin Hansen Last update Sep 8, 2011 — Installed 231 times.


Script Summary: Formats JSON if the document only contains JSON

Version: 1.0

Script homepage

Thumb

A very small userscript for opera (might work ok with other browsers) that formats the JSON data in a document if it's only JSON there.

For opera to open the JSON by itself and this to work (the default is to present it as a download), you will have to enable that in opera. Go to preferences -> advanced -> downloads -> Add

Mimetype: application/json
Select open with opera

That's it!