Last active
June 7, 2018 12:22
-
-
Save mgla/1fab90fbef35eecc386149d0bd479b83 to your computer and use it in GitHub Desktop.
json 2 yaml oneline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c 'import sys, yaml, json; yaml.safe_dump(json.load(sys.stdin), sys.stdout, default_flow_style=False)' < input.json > output.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment