Created
February 17, 2012 11:14
-
-
Save dshafik/1852740 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Convert JSON data to human-readable form. | |
(Reads from stdin and writes to stdout) | |
""" | |
import sys | |
import json | |
print json.dumps(json.loads(sys.stdin.read()), indent=4) | |
sys.exit(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment