Skip to content

Instantly share code, notes, and snippets.

@johncarroll
Created February 6, 2015 10:32
Show Gist options
  • Save johncarroll/d69f899f95270cf83cfa to your computer and use it in GitHub Desktop.
Save johncarroll/d69f899f95270cf83cfa to your computer and use it in GitHub Desktop.
Minify JSON
python -c 'import json,sys;print json.dumps(json.loads(sys.stdin.read()), separators=(",", ":"))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment