Written by Sean Behan on Wed Aug 21st 2013

Sometimes you want to see JSON from the command line. I'm sure there are better tools for the job, but here is a little snippet you can throw in your ~/.bash_profile.

function json { curl -s "$1" | python -mjson.tool; }

Usage

json https://github.com/timeline.json

Tagged with..
#Python #JSON #Bash

Just finishing up brewing up some fresh ground comments...