Skip to content

Instantly share code, notes, and snippets.

@Tho85
Created February 11, 2013 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tho85/4757401 to your computer and use it in GitHub Desktop.
Save Tho85/4757401 to your computer and use it in GitHub Desktop.
require 'json'
require 'json/generic_object'
JSON.parse '{"json_class":"JSON::GenericObject", "foo":"bar"}'
# => #<JSON::GenericObject foo="bar">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment