Sha256: ecc08ca10d5cd2ee4fff54d5f6292baa78bee0ba9cb953b4bdcc9b57c914a8f5

Contents?: true

Size: 244 Bytes

Versions: 147

Compression:

Stored size: 244 Bytes

Contents

class Object
  # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
  def to_json(options = nil)
    ActiveSupport::JSON.encode(as_json(options))
  end

  def as_json(options = nil)
    instance_values
  end
end

Version data entries

147 entries across 116 versions & 14 rubygems

Version Path
depengine-0.0.11 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.11 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.10 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.10 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
activesupport-2.3.18 lib/active_support/json/encoders/object.rb
depengine-0.0.9 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.9 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.8 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.8 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.7 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.7 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.5 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.5 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.4 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.4 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.3 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.3 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.2 etc/isolate/jruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
depengine-0.0.2 etc/isolate/ruby-1.8/gems/activesupport-2.3.8/lib/active_support/json/encoders/object.rb
activesupport_csi-2.3.5.p8 lib/active_support/json/encoders/object.rb