Last Updated: February 25, 2016
·
1.65K
· cjoudrey

JSON pretty-print bash alias

JSON pretty-print bash alias (nifty little snippet):

alias pp='python -mjson.tool'

Example:

~$ echo '{"test": "whoa!"}' | pp
{
    "test": "whoa!"
}