Prettify JSON in the command line
echo '{ "foo" : 42, "bar" : "baz" }' | python -m json.tool
This is a big help when wanting to easily inspect json output from, say, Chrome's network dev tool.
Written by Jamis
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#