Skip to content

Instantly share code, notes, and snippets.

@np
Created January 14, 2010 09:10
Show Gist options
  • Save np/277001 to your computer and use it in GitHub Desktop.
Save np/277001 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# LICENSE: Public Domain
require 'rubygems'
gem 'json'
require 'json'
puts JSON.pretty_generate(JSON.load(STDIN.read))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment