| Server IP : 118.27.122.248 / Your IP : 216.73.216.124 Web Server : Apache System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64 User : c9415830 ( 11735) PHP Version : 8.4.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python-internal/lib64/python3.11/json/__pycache__/ |
Upload File : |
�
!A?h
� � � 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<