instance method decode

Ruby on Rails 3.0.20

Since v2.3.18 Last seen in v3.0.20

Available in: v2.3.18 v3.0.20

Signature

decode(json)

No documentation comment.

Parameters

json req
Source
# File activesupport/lib/active_support/json/backends/yaml.rb, line 12
        def decode(json)
          raise "Warning: The Yaml backend has been deprecated due to security risks, you should set ActiveSupport::JSON.backend = 'OkJson'"
        end

Defined in activesupport/lib/active_support/json/backends/yaml.rb line 12 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::JSON::Backends::Yaml

Type at least 2 characters to search.

↑↓ navigate · open · esc close