Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
json
/
__pycache__
[ HOME ]
Exec
Submit
File Name : tool.cpython-311.pyc
� �,d � � � d Z ddlZddlZddlZddlmZ d� Zedk r5 e� � dS # e$ r Z ej e j � � Y dZ [ dS dZ [ ww xY wdS )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) � N)�Pathc � � d} d}t j | |�� � }|� ddt j d�� � dt j � � � |� d dt dd � � � |� dd dd�� � |� dddd�� � |� dd dd�� � |� � � }|� ddt d�� � |� ddddd �!� � |� d"ddd d#�!� � |� d$d d%�&� � |� � � }|j |j |j d'�}|j r d |d<