prettyprint.rst
changeset 2098 1a896c3e47c2
parent 2097 614569553a08
child 2228 837f1337c59b
equal deleted inserted replaced
2097:614569553a08 2098:1a896c3e47c2
    25 By default ``jq`` produce colorized output in terminal!
    25 By default ``jq`` produce colorized output in terminal!
    26 
    26 
    27 With Python 2.6+::
    27 With Python 2.6+::
    28 
    28 
    29   $ python -m simplejson.tool  $FILE
    29   $ python -m simplejson.tool  $FILE
       
    30   $ python -m json.tool  $FILE
    30 
    31 
    31 In terminal you can add color support with ``pygmentize``::
    32 In terminal you can add color support with ``pygmentize``::
    32 
    33 
    33   $ curl -s http://.../... | python -m simplejson.tool | pygmentize -l json
    34   $ curl -s http://.../... | python -m simplejson.tool | pygmentize -l json
    34 
    35