Created
April 16, 2015 22:07
-
-
Save geraint0923/13519bb611d42da9623a to your computer and use it in GitHub Desktop.
Pretty print the JSON format data
This file contains hidden or 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
| echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool | |
| cat data.json | python -m json.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment