https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/simplejson/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/simplejson/__pycache__/tool.cpython-310.pyc
o

\Փap�@s>dZddlmZddlZddlZdd�Zedkre�dSdS)aCommand-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)

�)�with_statementNc	Cs&ttj�dkrtj}tj}n4ttj�dkr!ttjdd�}tj}n!ttj�dkr9ttjdd�}ttjdd�}n	ttjdd��|�#ztj|tj	dd	�}Wnt
y_tt��d��wWd�n1sjwY|�tj||dd
dd�|�
d�Wd�dS1s�wYdS)
N���r��wrz [infile [outfile]]T)�object_pairs_hook�use_decimalz    )�	sort_keys�indentr	�
)�len�sys�argv�stdin�stdout�open�
SystemExit�json�load�OrderedDict�
ValueError�exc_info�dump�write)�infile�outfile�obj�r�1/usr/lib/python3/dist-packages/simplejson/tool.py�mains2
����"�r �__main__)�__doc__�
__future__rr�
simplejsonrr �__name__rrrr�<module>s
�

https://t.me/RX1948 - 2025