Last Updated: February 25, 2016
·
560
· ready4god2513

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