#!/usr/bin/env ruby require 'json' STDIN.each_line do |line| begin hash = JSON.parse(line) rescue => error end end