Ë =AåÜÛ«ãóª—dZddlZddlZddlZddlmZd„Zedk(r e«yy#e$r&Z eje j«YdZ [ ydZ [ wwxYw)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ó˜—d}d}tj||¬«}|jddtjd¬«dtj ¬ «|jd dt d d¬ «|jd d dd¬«|jdddd¬«|jdd dd¬«|j«}|jddtd¬«|jddddd ¬!«|jd"dddd#¬!«|jd$d d%¬&«|j«}|j|j|jd'œ}|jr d|d<d(|d)<|j5} |jr d*„|D«}nt!j"|«f}|j$€tj&}n|j$j)d+d¬«}|5} |D]*} t!j*| | fi|¤Ž| j-d,«Œ, ddd«ddd«y#1swYŒxYw#t.$r} t1| «‚d} ~ wwxYw#1swYyxYw)-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)Úactionr r 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)r r 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)Ú,Ú:Ú separatorsc3óFK—|]}tj|«–—Œy­w)N)ÚjsonÚloads)Ú.0Úlines ú /usr/lib/python3.12/json/tool.pyÚ zmain..Asèø€Ð<±V¨TœŸ ™  4×(±Vùs‚!ÚwÚ )ÚargparseÚArgumentParserÚ add_argumentÚFileTypeÚsysÚstdinrÚadd_mutually_exclusive_groupÚintÚ parse_argsrrrÚcompactrÚ json_linesrÚloadrÚstdoutÚopenÚdumpÚwriteÚ ValueErrorÚ SystemExit) rrÚparserÚgroupÚoptionsÚ dump_argsrÚobjsÚoutrÚobjÚes r"Úmainr@so€Ø €Dð@€Kä × $Ñ $¨$¸KÔ H€FØ ×ј¨Ü%×.Ñ.¸Ô@ØLÜ #§ ¡ ðô+ð ×ј ¨Ü!ØDØ $ðô&ð ×ј ¨lÀEØTðôVà ×ÑÐ+°.ÈØGðôIà ×ј¨|ÀUð`ðôað × /Ñ /Ó 1€EØ ×Ñ�z¨1´3ð3ðô4ð ×Ñ�w }¸8Ø!ð).ðô/ð ×Ñ�}¨]ÀØ!ØMðôOð ×Ñ�{¨<ØOðôQà×ÑÓ!€Gð×&Ñ&Ø—.‘.Ø×,Ñ,ñ€I𠇂Ø"ˆ �(ÑØ"*ˆ �,Ñà �Š˜6ð Ø×!Ò!Ù<±VÓ<‘äŸ ™  &Ó)Ð+�à�‰Ð&Ü—j‘j‘à—o‘o×*Ñ*¨3¸Ð*ÓA�Ù˜Û�CÜ—I‘I˜c 7Ñ8¨iÒ8Ø—M‘M $Õ'ñ ÷÷ ˆ÷�ûôò ܘQ“-Ð ûð ú÷ ˆúsCÅ,IÅ.A(H$Ç0HÈH$ÈH! ÈH$È$ H=È- H8È8H=È=IÉI Ú__main__) Ú__doc__r&rr*Úpathlibrr@Ú__name__ÚBrokenPipeErrorÚexcÚexitÚerrno©ór"ÚrKs^ðñ óÛ Û Ýò; ð| ˆzÒðÙ �ðøð ò؈�‰�—‘×Ñûðúsž'§A¬A Á A