YamlToJson

nicolaw 8th July 2019 at 7:34pm
CodeSnippets JSON YAML
python -c 'import json, sys, yaml ; y=yaml.safe_load(sys.stdin.read()) ; print(json.dumps(y))'