method

json_encoder=

rails latest stable - Class: ActiveSupport::JSON

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

json_encoder=(encoder)
public

No documentation available.

# File activesupport/lib/active_support/json/encoding.rb, line 229
        def json_encoder=(encoder)
          @json_encoder = encoder
          @encoder_without_options = encoder.new
          @encoder_without_escape = encoder.new(escape: false)
        end