ok
Direktori : /opt/alt/python311/lib64/python3.11/json/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/json/__pycache__/tool.cpython-311.pyc |
� �f � � � 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<