Skip to content

Instantly share code, notes, and snippets.

@ryunhe
Last active December 10, 2015 16:18
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 ryunhe/4459588 to your computer and use it in GitHub Desktop.
Save ryunhe/4459588 to your computer and use it in GitHub Desktop.
Using json.tool from the shell to validate and pretty-print
cat data.json | python -mjson.tool > data_pretty.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment