Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pretty print in json
# echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool
alias jsonprint="python -m json.tool"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment