Method: ActiveSupport::JSON::Encoding.json_encoder

Defined in:
activesupport/lib/active_support/json/encoding.rb

.json_encoderObject

Sets the encoder used by Rails to encode Ruby objects into JSON strings in Object#to_json and ActiveSupport::JSON.encode.



129
130
131
# File 'activesupport/lib/active_support/json/encoding.rb', line 129

def json_encoder
  @json_encoder
end