instance method
dump
Ruby on Rails 7.2.3
Since v7.1.6Signature
dump(object)
No documentation comment.
Parameters
-
objectreq
Source
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 86
def dump(object)
ActiveSupport::JSON.encode(object)
end
Defined in activesupport/lib/active_support/messages/serializer_with_fallback.rb line 86
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback