Parses a JSON string or IO and convert it into an object
# File activesupport/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