Methods
Constants
ParseError | = | ::JSON::ParserError |
Public Instance methods
Converts a JSON string into a Ruby object.
[ show source ]
# File activesupport/lib/active_support/json/backends/jsongem.rb, line 11 11: def decode(json) 12: data = ::JSON.parse(json) 13: if ActiveSupport.parse_json_times 14: convert_dates_from(data) 15: else 16: data 17: end 18: end