examples/parsing/from_string.rb in yajl-ruby-0.5.7 vs examples/parsing/from_string.rb in yajl-ruby-0.5.8
- old
+ new
@@ -9,7 +9,7 @@
exit(0)
end
json = StringIO.new(string)
-hash = Yajl::Parser.new.parse(json)
+hash = Yajl::Parser.parse(json)
puts hash.inspect
\ No newline at end of file