Your IP : 18.191.44.145


Current Path : /opt/alt/python33/lib64/python3.3/json/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/json/__pycache__/tool.cpython-33.pyo

�
��f�c@sDdZddlZddlZdd�Zedkr@e�ndS(uCommand-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)

iNc%CsPttj�dkr*tj}tj}n�ttj�dkrattjdd�}tj}n[ttj�dkr�ttjdd�}ttjdd�}nttjdd��|�Lytj|�}Wn1t	k
r	}zt|��WYdd}~XnXWdQX|�4tj
||ddd	d
dd�|jd�WdQXdS(Niiuriuwiu [infile [outfile]]u	sort_keysuindentiu
separatorsu,u: u
T(u,u: (
ulenusysuargvustdinustdoutuopenu
SystemExitujsonuloadu
ValueErrorudumpuTrueuwrite(uinfileuoutfileuobjue((u./opt/alt/python33/lib64/python3.3/json/tool.pyumains&	%
umainu__main__(u__doc__usysujsonumainu__name__(((u./opt/alt/python33/lib64/python3.3/json/tool.pyu<module>s


?>