Skip to content

Instantly share code, notes, and snippets.

@cyx
Created October 22, 2013 21:00
Show Gist options
  • Save cyx/7108068 to your computer and use it in GitHub Desktop.
Save cyx/7108068 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'json'
require 'msgpack'
data = JSON.parse($stdin.read)
$stdout.write(data.to_msgpack)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment