Last Updated: February 25, 2016
·
336
· zigotica

Pretty print JSON data

Pretty print JSON data received from an API endpoint curl call using python into terminal:

$ curl http://www.endpoint.com/api/resource.json | python -mjson.tool