Methods

Class/Module Index [+]

Quicksearch

ActiveSupport::JSON::Backends::JSONGem

Constants

ParseError

Public Instance Methods

decode(json) click to toggle source

Converts a JSON string into a Ruby object.

# File lib/active_support/json/backends/jsongem.rb, line 11
def decode(json)
  data = ::JSON.parse(json)
  if ActiveSupport.parse_json_times
    convert_dates_from(data)
  else
    data
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.