Live data from Hacker News

PJSON: pretty, colorful json output formatting for terminal

igorgue.com

21–30 of 36 posts

Re: PJSON: pretty, colorful json output formatting for terminal

#25
post #23

Hey kids, why shouldn't every python tool have a Ruby counterpart? :) https://github.com/marksands/pjson-rb

Come on, you should use coderay instead of pygments. 100% ruby ;)

Sweet! I went with a quick conversion rather than doing any research. Thanks for the link, I'll definitely give it a whirl tomorrow evening.

Re: PJSON: pretty, colorful json output formatting for terminal

#30
post #6

If this is based on pygments, is it reasonable to have a command like this that works on everything pygments knows how to highlight, and plugs into a bunch of pretty-printers / reformatters, e.g. GNU indent? Is there an equivalent of pygments for pretty-printing all the things?

Yes, it's the "pygmentize" command, included in pygments. Also, pygments is a fantastic tool, I love it.
Post reply on HN