Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/simplejson/__pycache__/tool.cpython-311.pyc
]jJ D d Z ddlZddlZd Zedk r e dS dS )a Command-line tool to validate and pretty-print JSON
Usage::
$ echo '{"json":"obj"}' | python -m simplejson.tool
{
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -m simplejson.tool
Expecting property name: line 1 column 2 (char 2)
Nc | t t j dk rt j } t j }nt t j dk r-t t j d d } t j }nt t j dk rAt t j d d } t t j d d }n"t
t j d dz | 5 t j | t j d }n4# t $ r' t
t j d w xY w d d d n# 1 swxY w Y |5 t j ||dd
d |
d d d d d S # 1 swxY w Y d S )
N r wr z [infile [outfile]]T)object_pairs_hookuse_decimalz ) sort_keysindentr
)lensysargvstdinstdoutopen
SystemExitjsonloadOrderedDict
ValueErrorexc_infodumpwrite)infileoutfileobjs q/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib64/python3.11/site-packages/simplejson/tool.pymainr s
38}}* SX! chqk3''* SX! chqk3''sx{C((!'<<=== 0 0 0)F.2.>(,. . .CC 0 0 0S\^^A./// 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#w$v4PPPP
d s<