Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Created September 23, 2014 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgriffs/d3f08afc39f1f4311aa0 to your computer and use it in GitHub Desktop.
Save kgriffs/d3f08afc39f1f4311aa0 to your computer and use it in GitHub Desktop.
JSON pretty-printing on the CLI with Mac OS X
$ pbpaste | python -m json.tool | pbcopy
@kgriffs
Copy link
Author

kgriffs commented Sep 24, 2014

You can also use jq in lieu of python. Just brew install jq and you're all set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment