Method: ActiveSupport::JSON::Encoding.json_encoder

Defined in:
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.



227
228
229
# File 'lib/active_support/json/encoding.rb', line 227

def json_encoder
  @json_encoder
end