1 2 3 4 5 6 7
#!/usr/bin/env ruby # frozen_string_literal: true require 'json' require 'yaml' puts JSON.parse(ARGF.read).to_yaml