Created
October 28, 2015 09:07
-
-
Save PinkPandaKatie/a3ac36b07f648b6e1581 to your computer and use it in GitHub Desktop.
This file contains 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/python | |
import sys | |
import json | |
from collections import OrderedDict | |
json.dump(json.load(sys.stdin, object_pairs_hook=OrderedDict), sys.stdout, indent=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment