AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/json/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/json/__pycache__/tool.cpython-39.opt-1.pyc |
a R�f � @ sx d Z ddlZddlZddlZddlmZ dd� Zedkrtz e� W n0 eyr Z ze� e j� W Y dZ [ n dZ [ 0 0 dS )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 C s� d} d}t j| |d�}|jddt jdd�dtjd � |jd dtdd d � |jdd ddd� |jddddd� |jdd ddd� |�� }|jddtdd� |jddddd d!� |jd"ddd d#d!� |jd$d d%d&� |� � }|j |j|jd'�}|j �rd |d<