Created
September 23, 2014 21:20
-
-
Save kgriffs/d3f08afc39f1f4311aa0 to your computer and use it in GitHub Desktop.
JSON pretty-printing on the CLI with Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pbpaste | python -m json.tool | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also use jq in lieu of python. Just
brew install jq
and you're all set!