11 lines
223 B
Python
Executable File
11 lines
223 B
Python
Executable File
#!/usr/bin/env python3
|
|
import json
|
|
import sys
|
|
|
|
content = None
|
|
|
|
with open(sys.argv[1], 'r') as fh:
|
|
content = json.load(fh, encoding='utf-8')
|
|
|
|
print(json.dumps(content, indent=4, separators=(',', ': '), ensure_ascii=False))
|