Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.6 /
site-packages /
simplejson /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-12 23:57
tests
[ DIR ]
drwxr-xr-x
2024-02-12 23:57
__init__.py
23.19
KB
-rw-r--r--
2019-11-18 06:22
_speedups.cpython-36m-x86_64-linux-gnu.so
50.46
KB
-rwxr-xr-x
2020-01-27 18:19
compat.py
815
B
-rw-r--r--
2019-11-18 06:22
decoder.py
14.18
KB
-rw-r--r--
2019-11-18 06:22
encoder.py
27.9
KB
-rw-r--r--
2019-11-18 06:22
errors.py
1.74
KB
-rw-r--r--
2019-11-18 06:22
ordered_dict.py
2.88
KB
-rw-r--r--
2019-11-18 06:22
raw_json.py
217
B
-rw-r--r--
2019-11-18 06:22
scanner.py
2.9
KB
-rw-r--r--
2019-11-18 06:22
tool.py
1.11
KB
-rw-r--r--
2019-11-18 06:22
Save
Rename
r"""Command-line tool to validate and pretty-print JSON Usage:: $ echo '{"json":"obj"}' | python -m simplejson.tool { "json": "obj" } $ echo '{ 1.2:3.4}' | python -m simplejson.tool Expecting property name: line 1 column 2 (char 2) """ from __future__ import with_statement import sys import simplejson as json def main(): if len(sys.argv) == 1: infile = sys.stdin outfile = sys.stdout elif len(sys.argv) == 2: infile = open(sys.argv[1], 'r') outfile = sys.stdout elif len(sys.argv) == 3: infile = open(sys.argv[1], 'r') outfile = open(sys.argv[2], 'w') else: raise SystemExit(sys.argv[0] + " [infile [outfile]]") with infile: try: obj = json.load(infile, object_pairs_hook=json.OrderedDict, use_decimal=True) except ValueError: raise SystemExit(sys.exc_info()[1]) with outfile: json.dump(obj, outfile, sort_keys=True, indent=' ', use_decimal=True) outfile.write('\n') if __name__ == '__main__': main()