Skip to content

Instantly share code, notes, and snippets.

@kbohinski kbohinski/jsonpp.sh
Last active Jan 19, 2018

Embed
What would you like to do?
# Making this a gist so I don't waste 20 minutes trying to find it again.... :)
#
# Setup:
# npm install -g json && pip install pygments
# Add source ~/path/to/jsonpp.sh to your shell startup/profile files.
#
# Credit:
# http://benw.me/posts/colourized-pretty-printed-json-with-curl/
#
# Usage:
# curl -s -L http://t.co/tYTq5Pu | jsonpp
alias jsonpp="json | pygmentize -l json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.