matches YAML-formatted dates
Listed in order of preference.
# File lib/active_support/json/decoding.rb, line 16
16: def backend
17: set_default_backend unless defined?(@backend)
18: @backend
19: end
# File lib/active_support/json/decoding.rb, line 21
21: def backend=(name)
22: if name.is_a?(Module)
23: @backend = name
24: else
25: require "active_support/json/backends/#{name.to_s.downcase}"
26: @backend = ActiveSupport::JSON::Backends::const_get(name)
27: end
28: @parse_error = @backend::ParseError
29: end
Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
# File lib/active_support/json/encoding.rb, line 29
29: def self.encode(value, options = nil)
30: Encoding::Encoder.new(options).encode(value)
31: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.