method
as_json
rails latest stable - Class:
Object
as_json(options = nil)public
No documentation available.
# File activesupport/lib/active_support/core_ext/object/json.rb, line 59
def as_json(options = nil) # :nodoc:
if respond_to?(:to_hash)
to_hash.as_json(options)
else
instance_values.as_json(options)
end
end