VocabReminder
Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Pretty Formatted JSON from the Command Line

       

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 w/ #python #json #bash