igorgue/pjson — pull request #5 by kmorey (2012-10-02 16:13:11+00:00)
Title: Only apply colors when output is a terminal

This allows you to pipe to tools like "less" without adding the colors so it will display correctly.

It still colors when dumping to a terminal directly.