Creates a new ScalaObjectMapper explicitly configured with
PropertyNamingStrategy.LOWER_CAMEL_CASE as a PropertyNamingStrategy
.
Return a mutated instance of the given JacksonScalaObjectMapperType configured with the given (nullable) Injector.
Return a mutated instance of the given JacksonScalaObjectMapperType configured with the given (nullable) Injector.
a configured (nullable) Injector.
the JacksonScalaObjectMapperType instance to use a basis for configuration.
the updated JacksonScalaObjectMapperType.
Create a new JacksonScalaObjectMapperType from this Builder with the given (nullable) Injector.
Create a new JacksonScalaObjectMapperType from this Builder with the given (nullable) Injector.
a configured (nullable) Injector.
a new JacksonScalaObjectMapperType instance configured from this Builder.
Create a new JacksonScalaObjectMapperType from this Builder.
Create a new ScalaObjectMapper from this Builder with the given (nullable) Injector
Create a new ScalaObjectMapper from this Builder with the given (nullable) Injector
a configured (nullable) Injector.
the JacksonScalaObjectMapperType to wrap.
a new ScalaObjectMapper instance.
Create a new ScalaObjectMapper from this Builder with the given (nullable) Injector.
Create a new ScalaObjectMapper from this Builder with the given (nullable) Injector.
a configured (nullable) Injector.
a new ScalaObjectMapper instance configured from this Builder.
Create a new ScalaObjectMapper from this Builder.
Creates a new ScalaObjectMapper explicitly configured with
PropertyNamingStrategy.SNAKE_CASE as a PropertyNamingStrategy
.
Configure the list of additional Jackson Modules for this Builder.
Configure additional JacksonObjectMapper functionality for the underlying mapper of this Builder.
Configure additional JacksonObjectMapper functionality for the underlying mapper of this Builder.
this will overwrite any previously set function.
Set the deserialization configuration for this Builder as a Map
of DeserializationFeature
to Boolean
(enabled).
Set the deserialization configuration for this Builder as a Map
of DeserializationFeature
to Boolean
(enabled).
the default is described by ScalaObjectMapper.DefaultDeserializationConfig.
,this overwrites the default deserialization configuration of this Builder.
ScalaObjectMapper.DefaultDeserializationConfig
Configure an InjectableTypes for this Builder.
Configure an InjectableTypes for this Builder.
the default is a NullInjectableTypes
ScalaObjectMapper.DefaultInjectableTypes
Disable case class validation during case class deserialization
Disable case class validation during case class deserialization
If you pass withNoValidation
to the builder all case class validations will be
bypassed, regardless of the withValidator
configuration.
ScalaObjectMapper.DefaultValidation
Enable the Feature.WRITE_NUMBERS_AS_STRINGS for this Builder.
Enable the Feature.WRITE_NUMBERS_AS_STRINGS for this Builder.
the default is false.
Configure a PropertyNamingStrategy for this Builder.
Configure a PropertyNamingStrategy for this Builder.
the default is PropertyNamingStrategy.SNAKE_CASE
ScalaObjectMapper.DefaultPropertyNamingStrategy
Set the serialization configuration for this Builder as a Map
of SerializationFeature
to Boolean
(enabled).
Set the serialization configuration for this Builder as a Map
of SerializationFeature
to Boolean
(enabled).
the default is described by ScalaObjectMapper.DefaultSerializationConfig.
ScalaObjectMapper.DefaultSerializationConfig
Configure a JsonInclude.Include for serialization for this Builder.
Configure a JsonInclude.Include for serialization for this Builder.
the default is JsonInclude.Include.NON_ABSENT
ScalaObjectMapper.DefaultSerializationInclude
Configure a Validator for this Builder
Configure a Validator for this Builder
If you pass withNoValidation
to the builder all case class validations will be
bypassed, regardless of the withValidator
configuration.
ScalaObjectMapper.DefaultValidator
A Builder for creating a new ScalaObjectMapper. E.g., to build a new instance of a ScalaObjectMapper.
For example,
or