Pretty print JSON on command line
There are many tools which gets the job done. My favorite is
python -mjson.tool filename.json
or
curl http://localhost:8080/data | python -mjson.tool
There are many tools which gets the job done. My favorite is
python -mjson.tool filename.json
or
curl http://localhost:8080/data | python -mjson.tool