Module: ActiveSupport::JSON::Backends::Yaml

Extended by:
Yaml
Included in:
Yaml
Defined in:
lib/active_support/json/backends/yaml.rb

Constant Summary collapse

ParseError =
::StandardError

Instance Method Summary collapse

Instance Method Details

#decode(json) ⇒ Object



10
11
12
# File 'lib/active_support/json/backends/yaml.rb', line 10

def decode(json)
  raise "The Yaml backend has been deprecated due to security risks, you should set ActiveSupport::JSON.backend = 'OkJson'"
end