JSON command line formatter tool for Linux

We needed a GNU/Linux command line formatter to beautify a huge JSON file we received. A solution we got our hands on was the json — JSON encoder and decoder. The usage was extremely easy and fast:

python -mjson.tool ugly.json > beautiful.json;

This post is also available in: Greek

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.