fukayatsu/json2yaml

View on GitHub
bin/yaml2json

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-

require 'json2yaml'

Json2yaml.to_json(STDIN, ARGV).each do |json|
  print json
end