File: //proc/3/root/proc/3/cwd/usr/lib/python2.4/site-packages/simplejson/tool.pyc
mς
$Ic @ s= d Z d k Z d k Z d Z e d j o e n d S( s Command-line tool to validate and pretty-print JSON
Usage::
$ echo '{"json":"obj"}' | python -m simplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -m simplejson.tool
Expecting property name: line 1 column 2 (char 2)
Nc C s& t t i d j o t i } t i } n t t i d j o# t t i d d } t i } n^ t t i d j o0 t t i d d } t t i d d } n t t i d d y t i
| } Wn! t j
o } t | n Xt i | | d t d d
| i d d S( Ni i t rbi t wbi s [infile [outfile]]t sort_keyst indenti s
( t lent syst argvt stdint infilet stdoutt outfilet opent
SystemExitt
simplejsont loadt objt
ValueErrort et dumpt Truet write( R R
R R ( ( t3 /usr/lib/python2.4/site-packages/simplejson/tool.pyt main s
t __main__( t __doc__R R
R t __name__( R R R
( ( R t ? s