AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3.10/json/__pycache__/tool.cpython-310.pyc
o

}�5h
�
@s|dZddlZddlZddlZddlmZdd�Zedkr<ze�WdSey;Z	z
e�
e	j�WYdZ	[	dSdZ	[	wwdS)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)

�N)�PathcCs�d}d}tj||d�}|jddtjdd�dtjd	�|jd
dtddd	�|jdd
ddd�|jddddd�|jdd
ddd�|��}|jddtdd�|jddddd d!�|jd"dddd#d!�|jd$d
d%d&�|�	�}|j
|j|jd'�}|j
r�d|d<d(|d)<|j�d}zJ|jr�d*d+�|D�}nt�|�f}|jdur�tj}n|jjd,dd�}|�}	|D]}
tj|
|	fi|��|	�d-�q�Wd�n1s�wYWnty�}zt|��d}~wwWd�dS1s�wYdS).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�outfilez%write the output of infile to outfilez--sort-keys�
store_trueFz5sort the output of dictionaries alphabetically by key)�actionrr
z--no-ensure-ascii�ensure_ascii�store_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)rr	r
z--tab�store_const�indent�	z9separate items with newlines and use tabs for indentation)rr�constr
z--no-indentz/separate items with spaces rather than newlinesz	--compactz1suppress all whitespace separation (most compact))rr
)�	sort_keysrr)�,�:�
separatorscss�|]}t�|�VqdS)N)�json�loads)�.0�line�r� /usr/lib/python3.10/json/tool.py�	<genexpr>As�zmain.<locals>.<genexpr>�w�
)�argparse�ArgumentParser�add_argument�FileType�sys�stdinr�add_mutually_exclusive_group�int�
parse_argsrrr�compactr�
json_linesr�loadr�stdout�open�dump�write�
ValueError�
SystemExit)rr�parser�group�options�	dump_argsr�objs�outr�obj�errr �mains�
��
�
�
�
�
�
���
������"�r>�__main__)�__doc__r$rr(�pathlibrr>�__name__�BrokenPipeError�exc�exit�errnorrrr �<module>s>���

Anon7 - 2022
AnonSec Team