HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //usr/lib64/python3.9/json/__pycache__/tool.cpython-39.opt-2.pyc
a

�DOg
�
@stddlZddlZddlZddlmZdd�Zedkrpz
e�Wn0eynZze�	ej
�WYdZ[n
dZ[00dS)�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_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)�,�:Z
separatorscss|]}t�|�VqdS)N)�json�loads)�.0�line�r�!/usr/lib64/python3.9/json/tool.py�	<genexpr>A�zmain.<locals>.<genexpr>�w�
)�argparse�ArgumentParser�add_argument�FileType�sys�stdinr�add_mutually_exclusive_group�int�
parse_argsrrrZcompactrZ
json_linesr�loadr�stdout�open�dump�write�
ValueError�
SystemExit)rr�parser�group�optionsZ	dump_argsrZobjs�outr�obj�errr�mainst
��
�
�
�
�
�
���2r:�__main__)r$rr(�pathlibrr:�__name__�BrokenPipeError�exc�exit�errnorrrr�<module>
s>