Skip to content

Instantly share code, notes, and snippets.

@mdub
Created Aug 13, 2013
Embed
What would you like to do?
#!/usr/bin/env ruby
require 'rubygems'
require 'json'
require 'yaml'
JSON.create_id = "__disabled__"
data = JSON.parse(STDIN.read)
YAML.dump(data, STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment