Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Thursday, February 14, 2013

How to format JSON on the command line

Also known as pretty print.

echo myFile.json | python -mjson.tool