Skip to content

Instantly share code, notes, and snippets.

@kenthunt
Forked from mboersma/yaml2json
Last active June 20, 2018 22:23
Embed
What would you like to do?
YAML to JSON one-liner
python -c 'import sys, yaml, json; y=yaml.safe_load(sys.stdin.read()); print json.dumps(y)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment