ó ù^‚Rc@sAdZddlZddlZd„Zedkr=eƒndS(sCommand-line tool to validate and pretty-print JSON Usage:: $ echo '{"json":"obj"}' | python -m json.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m json.tool Expecting property name enclosed in double quotes: line 1 column 3 (char 2) iÿÿÿÿNcCs>ttjƒdkr*tj}tj}n’ttjƒdkrattjddƒ}tj}n[ttjƒdkr¥ttjddƒ}ttjddƒ}nttjddƒ‚|:ytj|ƒ}Wnt k r÷}t|ƒ‚nXWdQX|4tj ||dt d d d dƒ|j dƒWdQXdS(Niitrbitwbis [infile [outfile]]t sort_keystindentit separatorst,s: s (Rs: ( tlentsystargvtstdintstdouttopent SystemExittjsontloadt ValueErrortdumptTruetwrite(tinfiletoutfiletobjte((s/usr/lib/python2.7/json/tool.pytmains&    t__main__(t__doc__RR Rt__name__(((s/usr/lib/python2.7/json/tool.pyt s