« Back to Index

Create JSON from Yaml

View original Gist on GitHub

Create JSON from Yaml.md

ruby -rjson -ryaml -e "puts JSON.generate(YAML.load_file('./stacks/s3.yml'))" | json_pp | pbcopy