PJSON: pretty, colorful json output formatting for terminal
1–10 of 36 posts
Re: PJSON: pretty, colorful json output formatting for terminal
#2Re: PJSON: pretty, colorful json output formatting for terminal
#3Re: PJSON: pretty, colorful json output formatting for terminal
#4Wait wait ... what are the unicode characters for that cloud and lightning bolt? That looks awesome.
☁ U+2601 CLOUD
⚡ U+26A1 HIGH VOLTAGE SIGN
Re: PJSON: pretty, colorful json output formatting for terminal
#5Wait wait ... what are the unicode characters for that cloud and lightning bolt? That looks awesome.
Re: PJSON: pretty, colorful json output formatting for terminal
#6Is there an equivalent of pygments for pretty-printing all the things?
Re: PJSON: pretty, colorful json output formatting for terminal
#7Wait wait ... what are the unicode characters for that cloud and lightning bolt? That looks awesome.
It's from my zsh theme: https://raw.github.com/igorgue/oh-my-zsh/master/themes/igorg... I stole it from the cloud theme and another theme that I don't remember.
The thunder lights up when the program doesn't end property (return 0).
[1] http://wiki.xkcd.com/irc/Heart_Thunder
Re: PJSON: pretty, colorful json output formatting for terminal
#8 echo '{"hello":"there"}' | python -mjson.toolRe: PJSON: pretty, colorful json output formatting for terminal
#9Here's a similar trick with the Python json module: echo '{"hello":"there"}' | python -mjson.tool
echo '{"hello":"there"}' | json_xs