Last Updated: February 25, 2016
·
837
· franklouwers

Pretty print json output

Need to debug a JSON based api and want to render the output a lot more readable? Use the standard python json module of that!

curl https://you.api.server/endpoint.json | python -m json.tool

Will output the JSON nicely, apply indenting etc.