123456789_123456789_123456789_123456789_123456789_

Class: Struct

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
ActiveRecord::MigrationProxy, ActiveRecord::Point, ActionController::ParamsWrapper::Options, ActionDispatch::Response::ContentTypeHeader, ActionMailbox::Relayer::Result, ActiveRecord::ConnectionAdapters::AddColumnDefinition, ActiveRecord::ConnectionAdapters::ChangeColumnDefaultDefinition, ActiveRecord::ConnectionAdapters::ChangeColumnDefinition, ActiveRecord::ConnectionAdapters::CheckConstraintDefinition, ActiveRecord::ConnectionAdapters::ColumnDefinition, ActiveRecord::ConnectionAdapters::CreateIndexDefinition, ActiveRecord::ConnectionAdapters::ForeignKeyDefinition, ActiveRecord::ConnectionAdapters::PrimaryKeyDefinition, ActiveRecord::Migration::ReversibleBlockHelper, ActiveRecord::TokenFor::TokenDefinition, ActiveSupport::ExecutionWrapper::CompleteHook, ActiveSupport::ExecutionWrapper::RunHook, ActiveSupport::SyntaxErrorProxy::BacktraceLocation, Arel::Attributes::Attribute, Rails::SourceAnnotationExtractor::Annotation, Rails::SourceAnnotationExtractor::ParserExtractor, Rails::SourceAnnotationExtractor::PatternExtractor, ActionDispatch::Journey::Format::Parameter, ActionDispatch::Routing::RouteSet::Config, ActionView::MissingTemplate::Results::Result, ActionView::Resolver::PathParser::ParsedPath, ActiveModel::AttributeRegistration::ClassMethods::PendingDecorator, ActiveModel::AttributeRegistration::ClassMethods::PendingDefault, ActiveModel::AttributeRegistration::ClassMethods::PendingType, ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition, ActiveRecord::ConnectionAdapters::PostgreSQL::UniqueConstraintDefinition, ActiveRecord::PredicateBuilder::RangeHandler::RangeWithBinds, ActiveSupport::Callbacks::Filters::Environment, ActiveSupport::Testing::Parallelization::PrerecordResultClass, ActiveSupport::Testing::SimpleStubs::Stub, Arel::Visitors::Dot::Edge, Rails::Generators::AppBase::GemfileEntry, ActiveModel::AttributeMethods::ClassMethods::AttributeMethodPattern::AttributeMethod, ActiveRecord::Associations::JoinDependency::Aliases::Column, ActiveRecord::Associations::JoinDependency::Aliases::Table, ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report, ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array::Data
Inherits: Object
Defined in: activesupport/lib/active_support/core_ext/object/json.rb

Instance Method Summary

Instance Method Details

#as_json(options = nil)

[ GitHub ]

  
# File 'activesupport/lib/active_support/core_ext/object/json.rb', line 75

def as_json(options = nil)
  to_h.as_json(options)
end