Current Path: > > opt > alt > python37 > lib64 > > python3.7 > json > __pycache__
Operation : Linux premium131.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 : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-37.opt-1.pyc | File | 12335 bytes | April 17 2024 17:36:09. | |
__init__.cpython-37.opt-2.pyc | File | 2978 bytes | April 17 2024 17:35:53. | |
__init__.cpython-37.pyc | File | 12335 bytes | April 17 2024 17:36:14. | |
decoder.cpython-37.opt-1.pyc | File | 9821 bytes | April 17 2024 17:36:09. | |
decoder.cpython-37.opt-2.pyc | File | 5830 bytes | April 17 2024 17:35:53. | |
decoder.cpython-37.pyc | File | 9821 bytes | April 17 2024 17:36:14. | |
encoder.cpython-37.opt-1.pyc | File | 11303 bytes | April 17 2024 17:36:09. | |
encoder.cpython-37.opt-2.pyc | File | 6952 bytes | April 17 2024 17:35:53. | |
encoder.cpython-37.pyc | File | 11303 bytes | April 17 2024 17:36:14. | |
scanner.cpython-37.opt-1.pyc | File | 1993 bytes | April 17 2024 17:36:09. | |
scanner.cpython-37.opt-2.pyc | File | 1957 bytes | April 17 2024 17:35:53. | |
scanner.cpython-37.pyc | File | 1993 bytes | April 17 2024 17:36:14. | |
tool.cpython-37.opt-1.pyc | File | 1594 bytes | April 17 2024 17:36:09. | |
tool.cpython-37.opt-2.pyc | File | 1301 bytes | April 17 2024 17:35:53. | |
tool.cpython-37.pyc | File | 1594 bytes | April 17 2024 17:36:14. |
B YI~d% � @ sf d dl Z d dlZd dlZdd� Zedkrby e� W n. ek r` Z ze�ej� W ddZ[X Y nX dS )� Nc C s� d} d}t j| |d�}|jddt jdd�dd � |jd dt jddd�dd � |jd dddd� |�� }|jpptj}|jp|tj }|j }|�@ yt�|�}W n* t k r� } zt|��W d d }~X Y nX W d Q R X |�" tj|||dd� |�d� W d Q R X d S )Nzpython -m json.toolzZA simple command line interface for json module to validate and pretty-print JSON objects.)�prog�description�infile�?zutf-8)�encodingz-a JSON file to be validated or pretty-printed)�nargs�type�help�outfile�wz%write the output of infile to outfilez--sort-keys� store_trueFz5sort the output of dictionaries alphabetically by key)�action�defaultr � )� sort_keys�indent� )�argparse�ArgumentParser�add_argument�FileType� parse_argsr �sys�stdinr �stdoutr �json�load� ValueError� SystemExit�dump�write) r r �parser�optionsr r r �obj�e� r% �./opt/alt/python37/lib64/python3.7/json/tool.py�main s* $r'