attribute json_encoder
Ruby on Rails 8.1.2
Since v8.1.2Sets the encoder used by Rails to encode Ruby objects into JSON strings in +Object#to_json+ and ActiveSupport::JSON.encode.
Ruby on Rails 8.1.2
Since v8.1.2Sets the encoder used by Rails to encode Ruby objects into JSON strings in +Object#to_json+ and ActiveSupport::JSON.encode.