Created
May 17, 2018 16:26
-
-
Save djoreilly/9f38ddd11f7ffa1b29cb8c66b4ca65f1 to your computer and use it in GitHub Desktop.
Convert json to yaml
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
#!/usr/bin/env python3 | |
import sys, json, yaml | |
yaml.dump(json.loads(sys.stdin.read()), sys.stdout, default_flow_style=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment