examples/parsing/from_stdin.rb in brianmario-yajl-ruby-0.5.7 vs examples/parsing/from_stdin.rb in brianmario-yajl-ruby-0.5.8
- old
+ new
@@ -3,7 +3,7 @@
require 'rubygems'
require 'yajl'
# Usage: cat benchmark/subjects/item.json | ruby examples/from_stdin.rb
-hash = Yajl::Parser.new.parse(STDIN)
+hash = Yajl::Parser.parse(STDIN)
puts hash.inspect
\ No newline at end of file