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!"
}
Written by Christian Joudrey
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#