Skip to content

Instantly share code, notes, and snippets.

@kenthunt
kenthunt / yaml2json
Last active June 20, 2018 22:23 — forked from mboersma/yaml2json
YAML to JSON one-liner
View yaml2json
python -c 'import sys, yaml, json; y=yaml.safe_load(sys.stdin.read()); print json.dumps(y)'