Clean JSON Preview
JSON feeds are great. Except when they aren't. You know, those feeds with thousands of nodes, nested (seemingly) infinitely, and on top of all of that, compressed.
A simple command to the rescue-
python -m json.tool
Just pipe your string (or curl request) in and there you go.
curl http://my-url.com/api.json | python -m json.tool
Written by Brandon Hansen
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#