| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/simplejson/ |
Upload File : |
Ñò
$œœIc @ 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 -m simplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -m simplejson.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 } 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 stdoutt opent
SystemExitt
simplejsont loadt
ValueErrort dumpt Truet write( t infilet outfilet objt e( ( s3 /usr/lib/python2.6/site-packages/simplejson/tool.pyt main s
t __main__( t __doc__R R R t __name__( ( ( s3 /usr/lib/python2.6/site-packages/simplejson/tool.pyt <module> s