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
Written by Sergi Meseguer
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#