module ActiveSupport::JSON::Backends::Yaml

Constants

ParseError

Public Instance Methods

decode(json) click to toggle source
# File 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