Methods

Class/Module Index [+]

Quicksearch

ActiveSupport::JSON::Backends::Yajl

Constants

ParseError

Public Instance Methods

decode(json) click to toggle source

Parses a JSON string or IO and convert it into an object

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.