Current Path: > > lib64 > python2.7 > json
Operation : Linux premium107.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| __init__.py | File | 14721 bytes | April 10 2024 04:58:35. | |
| __init__.pyc | File | 13926 bytes | April 10 2024 04:58:46. | |
| __init__.pyo | File | 13926 bytes | April 10 2024 04:58:46. | |
| decoder.py | File | 13698 bytes | April 10 2024 04:58:35. | |
| decoder.pyc | File | 11960 bytes | April 10 2024 04:58:46. | |
| decoder.pyo | File | 11960 bytes | April 10 2024 04:58:46. | |
| encoder.py | File | 16399 bytes | April 10 2024 04:58:35. | |
| encoder.pyc | File | 13721 bytes | April 10 2024 04:58:46. | |
| encoder.pyo | File | 13721 bytes | April 10 2024 04:58:46. | |
| scanner.py | File | 2297 bytes | April 10 2024 04:58:35. | |
| scanner.pyc | File | 2229 bytes | April 10 2024 04:58:46. | |
| scanner.pyo | File | 2229 bytes | April 10 2024 04:58:46. | |
| tool.py | File | 997 bytes | April 10 2024 04:58:35. | |
| tool.pyc | File | 1294 bytes | April 10 2024 04:58:46. | |
| tool.pyo | File | 1294 bytes | April 10 2024 04:58:46. |
�
{fc @ sA d Z d d l Z d d l Z d � Z e d k r= e � n d S( s 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)
i����Nc C s> t t j � d k r* t j } t j } n� t t j � d k ra t t j d d � } t j } n[ t t j � d k r� t t j d d � } t t j d d � } n t t j d d � � | �: y t j | � } Wn t k
r� } t | � � n XWd QX| �4 t j
| | d t d d
d d �| j d � Wd QXd S( Ni i t rbi t wbi s [infile [outfile]]t sort_keyst indenti t
separatorst ,s : s
( R s : (
t lent syst argvt stdint stdoutt opent
SystemExitt jsont loadt
ValueErrort dumpt Truet write( t infilet outfilet objt e( ( s! /usr/lib64/python2.7/json/tool.pyt main s&