Last active
September 11, 2015 19:03
-
-
Save lichti/1f8aa12ad38f47fc4e55 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
ruby -r json -r yaml -e "json = JSON.parse(File.read('./file.json')); print YAML::dump(json)" > file.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment