Skip to content

Instantly share code, notes, and snippets.

@dgk
Last active August 29, 2015 14:01
Show Gist options
  • Save dgk/80268a1da447cdd98775 to your computer and use it in GitHub Desktop.
Save dgk/80268a1da447cdd98775 to your computer and use it in GitHub Desktop.
python -c "import sys,json,locale;print json.dumps(json.loads(sys.stdin.read()), sort_keys=True, indent=4).decode('unicode-escape').encode(locale.getpreferredencoding())"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment