Skip to content
Tags

,

Easy JSON pretty-print

by Tomek on April 2nd, 2011

It turns out that pretty-printing any give JSON data is dead simple if you have Python by hand. On decent OSes you get Python interpreter right out-of-the box. For the less decent ones, you can download distribution. Once you got it, just filter it through simple python interpretter invocation, like:

echo '{ "Japko.net" : "Rulez" }' | python -mjson.tool
No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

Comment spam protected by SpamBam