Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #!/usr/bin/env python3
  2. # coding=utf-8
  3.  
  4. """
  5. usage example: `./prettify_json.py input.json > output.json`
  6. """
  7. import sys
  8. import json
  9.  
  10. with open(sys.argv[1], "r") as f:
  11.   parsed = json.load(f)
  12.   print(json.dumps(parsed, indent=4, ensure_ascii=False))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top