sumitasok
5/28/2013 - 10:53 AM

ruby command line JSON to YAML convertor

ruby command line JSON to YAML convertor

ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < file.json > file.yaml