Pretty JSON in shell
Pipe json via python -m json.tool
, e.g.
curl -s http://jsonip.com | python -m json.tool
Written by Matias Korhonen
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#