JacksonObjectMapperFactory
Used with JacksonObjectMapperProviderSetup for defining a JacksonObjectMapperProvider that can be passed in when ActorSystem is created rather than creating one from configured class name. Create a subclass and override the methods to amend the defaults.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Override this method to create a new custom instance of ObjectMapper for the given serializerIdentifier.
Override this method to create a new custom instance of ObjectMapper for the given serializerIdentifier.
Value parameters
- bindingName
-
name of this
ObjectMapper - jsonFactory
-
optional
JsonFactorysuch asCBORFactory, for plain JSONNone(defaults) can be used
Attributes
After construction of the ObjectMapper the configured deserialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured deserialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to the ObjectMapper.
When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with pekko.japi.Util.immutableSeq.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
DeserializationFeaturethat were configured inpekko.serialization.jackson.deserialization-features
Attributes
After construction of the ObjectMapper the configured JSON generator features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured JSON generator features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
JsonGenerator.Featurethat were configured inpekko.serialization.jackson.json-generator-features
Attributes
After construction of the ObjectMapper the configured JSON parser features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured JSON parser features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
JsonParser.Featurethat were configured inpekko.serialization.jackson.json-parser-features
Attributes
JsonReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
JsonReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
JsonReadFeaturethat were configured inpekko.serialization.jackson.json-read-features
Attributes
JsonWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
JsonWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
JsonWriteFeaturethat were configured inpekko.serialization.jackson.json-write-features
Attributes
After construction of the ObjectMapper the configured mapper features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured mapper features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the ObjectMapper.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
MapperFeaturesthat were configured inpekko.serialization.jackson.mapper-features
Attributes
After construction of the ObjectMapper the configured modules are added to the mapper. These modules can be amended programatically by overriding this method and return the modules that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured modules are added to the mapper. These modules can be amended programatically by overriding this method and return the modules that are to be applied to the ObjectMapper.
When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with pekko.japi.Util.immutableSeq.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredModules
-
the list of
Modulesthat were configured inpekko.serialization.jackson.deserialization-features
Attributes
After construction of the ObjectMapper the configured serialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to the ObjectMapper.
After construction of the ObjectMapper the configured serialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to the ObjectMapper.
When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with pekko.japi.Util.immutableSeq.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
SerializationFeaturethat were configured inpekko.serialization.jackson.serialization-features
Attributes
StreamReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
StreamReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
StreamReadFeaturethat were configured inpekko.serialization.jackson.stream-read-features
Attributes
StreamWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
StreamWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
StreamWriterFeaturethat were configured inpekko.serialization.jackson.stream-write-features
Attributes
Visibility settings used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These settings can be amended programmatically by overriding this method and return the values that are to be applied to the JsonFactoryBuilder.
Visibility settings used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These settings can be amended programmatically by overriding this method and return the values that are to be applied to the JsonFactoryBuilder.
Value parameters
- bindingName
-
bindingName name of this
ObjectMapper - configuredFeatures
-
the list of
PropertyAccessor/JsonAutoDetect.Visibilitythat were configured inpekko.serialization.jackson.visibility