3 ms·
http://code.google.com/p/jsonview/ http://code.google.com/p/jsonview/ for firefox. https://chrome.google.com/extensions/detail/ddngkjbldiejbheifcmnfmmfiniimbbg
by dazmiller 16y ago
http://code.google.com/p/jsonview/ http://code.google.com/p/jsonview/ for firefox.
https://chrome.google.com/extensions/detail/ddngkjbldiejbheifcmnfmmfiniimbbg?hl=en-gb https://chrome.google.com/extensions/detail/ddngkjbldiejbhei... for chrome.
There is also a website that does a decent job as well http://jsonviewer.stack.hu/ http://jsonviewer.stack.hu/
All very nice viewers mate.
- x0ner 16y agoViewers yes, but I need something that takes the JSON returned from an AJAX call and gives me a nice view of it. So it needs to be something I can call through an API or locally.
- dazmiller 16y agoi dont quite understand, the plugins allow you to view the resultant JSON from an ajax request. Sorry for misunderstanding. The Firefox plugin states: Normally when encountering a JSON document (content type "application/json"), Firefox simply prompts you to download the view. With the JSONView extension, JSON documents are shown in the browser similar to how XML documents are shown. The document is formatted, highlighted, and arrays and objects can be collapsed. Even if the JSON document contains errors, JSONView will still show the raw text.