Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
U
,a
@ sj d Z ddlZddlZddlZdd Zedkrfz
e W n. ek
rd Z zeej W 5 dZ[X Y nX dS )a Command-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 C s4 d} d}t j| |d}|jddt jdddtjd |jd
dt jddddtjd |jd
dddd |jddddd | }|j}|j }|j
}|j}| |~ zJ|rdd |D }nt
|f}|D ] } tj| ||dd |d qW n, tk
r }
zt|
W 5 d }
~
X Y nX W 5 Q R X W 5 Q R X d S )Nzpython -m json.toolzZA simple command line interface for json module to validate and pretty-print JSON objects.)progdescriptioninfile?zutf-8)encodingz-a JSON file to be validated or pretty-printed)nargstypehelpdefaultoutfilewz%write the output of infile to outfilez--sort-keys
store_trueFz5sort the output of dictionaries alphabetically by key)actionr
r z--json-linesz&parse input using the jsonlines formatc s s | ]}t |V qd S )N)jsonloads).0line r ./opt/alt/python38/lib64/python3.8/json/tool.py , s zmain.. ) sort_keysindent
)argparseArgumentParseradd_argumentZFileTypesysstdinstdout
parse_argsr r r
json_linesr loaddumpwrite
ValueError
SystemExit)r r parserZoptionsr r r r! Zobjsobjer r r main sD
r* __main__)
__doc__r r r r* __name__BrokenPipeErrorexcexiterrnor r r r s $