Module: ActiveSupport::JSON

Module | ActiveSupport::JSON
In: | lib/active_support/json/backends/jsongem.rb lib/active_support/json/backends/yaml.rb lib/active_support/json/decoding.rb lib/active_support/json/encoding.rb lib/active_support/json/variable.rb

### Methods

backend backend= with_backend

### Classes and Modules

Module ActiveSupport::JSON::Backends
Class ActiveSupport::JSON::ParseError
Class ActiveSupport::JSON::Variable

### Constants

ParseError | = | ::JSON::ParserError unless const_defined?(:ParseError)
DATE_REGEX | = | /^(?:\d{4}-\d{2}-\d{2}|\d{4}-\d{1,2}-\d{1,2}[ \t]+\d{1,2}:\d{2}:\d{2}(\.[0-9]*)?(([ \t]*)Z|[-+]\d{2}?(:\d{2})?))$/ |  | matches YAML-formatted dates
CircularReferenceError | = | Deprecation::DeprecatedConstantProxy.new('ActiveSupport::JSON::CircularReferenceError', Encoding::CircularReferenceError)

### Public Class methods

backend()
backend=(name)
with_backend(name) {|| ...}

[Validate]