I've got some JSON data, but it's all on one line. Does anyone know of a web or Windows editor that will format (e.g. indent and insert new lines) this data for me, so I can read it better? Preferably one that uses a GUI to display the JSON—instead of a command-line tool that outputs a reformatted document, for example.
I have recently created JSON Editor Online, a tool to easily edit and format JSON online. JSON is displayed in a clear, editable treeview and in formatted plain text.
http://jsoneditoronline.org/
Have you tried this?
http://jsonformat.com/
You can download http://www.thomasfrank.se/json_editor.html and run it locally on your own data, although it is an editor rather than a formatter.
http://www.jsonlint.com/ is also a useful validation and reformatting tool.
On windows I go for: http://jsonviewer.codeplex.com/
Handy for pulling raw JSON responses from Firebug and parsing it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With