Skip to content

Instantly share code, notes, and snippets.

@abhay
Created Aug 11, 2009
Embed
What would you like to do?
$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'json'
=> true
irb(main):003:0> JSON.parse(JSON.unparse(true))
JSON::ParserError: 618: unexpected token at 'true'
from /usr/lib64/ruby/gems/1.8/gems/json-1.1.7/lib/json/common.rb:122:in `parse'
from /usr/lib64/ruby/gems/1.8/gems/json-1.1.7/lib/json/common.rb:122:in `parse'
from (irb):3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment