User Tools

Site Tools


pretty_print_json_on_command_line

This is an old revision of the document!


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
pretty_print_json_on_command_line.1423667505.txt.gz · Last modified: 2015/02/11 15:11 by mihael