Json_to_yamlJson to YAML with ruby ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < sample.json > sample.yaml [Ruby][小ネタ] ワンライナーで JSON を YAML に変換する | DevelopersIO