instance method detect_format

Ruby on Rails 7.2.3

Since v7.1.6 Private

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

detect_format(dumped)

No documentation comment.

Parameters

dumped req
Source
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 101
            def detect_format(dumped)
              # Assume JSON format if format could not be determined.
              super || :json
            end

Defined in activesupport/lib/active_support/messages/serializer_with_fallback.rb line 101 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Messages::SerializerWithFallback::JsonWithFallback

Type at least 2 characters to search.

↑↓ navigate · open · esc close