Skip to content

Instantly share code, notes, and snippets.

@cyx
Created February 11, 2013 19:26
Show Gist options
  • Select an option

  • Save cyx/4756887 to your computer and use it in GitHub Desktop.

Select an option

Save cyx/4756887 to your computer and use it in GitHub Desktop.
(from @tenderlove)
module JSON
class << self
alias :old_parse :parse
def parse(json, args = {})
args[:create_additions] = false
old_parse(json, args)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment