Flowdock
decode(json, options ={}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/json/decoding.rb, line 11
      def decode(json, options ={})
        # Can't reliably detect whether MultiJson responds to load, since it's
        # a reserved word. Use adapter as a proxy for new features.
        data = if MultiJson.respond_to?(:adapter)
          MultiJson.load(json, options)
        else
          MultiJson.decode(json, options)
        end
        if ActiveSupport.parse_json_times
          convert_dates_from(data)
        else
          data
        end
      end
Register or log in to add new notes.