ACC SHELL
Ñò
rÄMc @ sC d Z d d k Z d 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 -mjson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -mjson.tool
Expecting property name: line 1 column 2 (char 2)
iÿÿÿÿ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 } nc t t i ƒ d j o0 t t i d d ƒ } t t i d d ƒ } n t d i t i 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 wbs {0} [infile [outfile]]i t sort_keyst indenti s
( t lent syst argvt stdint stdoutt opent
SystemExitt formatt jsont loadt
ValueErrort dumpt Truet write( t infilet outfilet objt e( ( s /usr/lib/python2.6/json/tool.pyt main s
t __main__( t __doc__R R R t __name__( ( ( s /usr/lib/python2.6/json/tool.pyt <module> s
ACC SHELL 2018