`--ײt P d Z ddlmZ 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) )with_statementNc | 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 c/builddir/build/BUILD/cloudlinux-venv-1.0.10/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<