Daily Archives: 4 March 2020

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;