class JacksonObjectMapperFactory extends AnyRef
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.
- Alphabetic
- By Inheritance
- JacksonObjectMapperFactory
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
-  new JacksonObjectMapperFactory()
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-    def +(other: String): String- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toany2stringadd[JacksonObjectMapperFactory] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
 
-    def ->[B](y: B): (JacksonObjectMapperFactory, B)- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
 
-    def ensuring(cond: (JacksonObjectMapperFactory) => Boolean, msg: => Any): JacksonObjectMapperFactory- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: (JacksonObjectMapperFactory) => Boolean): JacksonObjectMapperFactory- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean, msg: => Any): JacksonObjectMapperFactory- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean): JacksonObjectMapperFactory- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def newObjectMapper(bindingName: String, jsonFactory: JsonFactory): ObjectMapperOverride this method to create a new custom instance of ObjectMapperfor the givenserializerIdentifier.Override this method to create a new custom instance of ObjectMapperfor the givenserializerIdentifier.- bindingName
- name of this - ObjectMapper
- jsonFactory
- optional - JsonFactorysuch as- CBORFactory, for plain JSON- None(defaults) can be used
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
 
-    def overrideConfiguredDeserializationFeatures(bindingName: String, configuredFeatures: Seq[(DeserializationFeature, Boolean)]): Seq[(DeserializationFeature, Boolean)]After construction of the ObjectMapperthe configured deserialization features are applied to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.When implementing a JacksonObjectMapperFactorywith Java theimmutable.Seqcan be created with akka.japi.Util.immutableSeq.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - DeserializationFeaturethat were configured in- akka.serialization.jackson.deserialization-features
 
-    def overrideConfiguredJsonGeneratorFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]After construction of the ObjectMapperthe configured JSON generator features are applied to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - JsonGenerator.Featurethat were configured in- akka.serialization.jackson.json-generator-features
 
-    def overrideConfiguredJsonParserFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]After construction of the ObjectMapperthe configured JSON parser features are applied to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - JsonParser.Featurethat were configured in- akka.serialization.jackson.json-parser-features
 
-    def overrideConfiguredJsonReadFeatures(bindingName: String, configuredFeatures: Seq[(JsonReadFeature, Boolean)]): Seq[(JsonReadFeature, Boolean)]JsonReadFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper.JsonReadFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - JsonReadFeaturethat were configured in- akka.serialization.jackson.json-read-features
 
-    def overrideConfiguredJsonWriteFeatures(bindingName: String, configuredFeatures: Seq[(JsonWriteFeature, Boolean)]): Seq[(JsonWriteFeature, Boolean)]JsonWriteFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper.JsonWriteFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - JsonWriteFeaturethat were configured in- akka.serialization.jackson.json-write-features
 
-    def overrideConfiguredMapperFeatures(bindingName: String, configuredFeatures: Seq[(MapperFeature, Boolean)]): Seq[(MapperFeature, Boolean)]After construction of the ObjectMapperthe configured mapper features are applied to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - MapperFeaturesthat were configured in- akka.serialization.jackson.mapper-features
 
-    def overrideConfiguredModules(bindingName: String, configuredModules: Seq[Module]): Seq[Module]After construction of the ObjectMapperthe configured modules are added to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.When implementing a JacksonObjectMapperFactorywith Java theimmutable.Seqcan be created with akka.japi.Util.immutableSeq.- bindingName
- bindingName name of this - ObjectMapper
- configuredModules
- the list of - Modulesthat were configured in- akka.serialization.jackson.deserialization-features
 
-    def overrideConfiguredSerializationFeatures(bindingName: String, configuredFeatures: Seq[(SerializationFeature, Boolean)]): Seq[(SerializationFeature, Boolean)]After construction of the ObjectMapperthe configured serialization features are applied to the mapper.After construction of the ObjectMapperthe 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 theObjectMapper.When implementing a JacksonObjectMapperFactorywith Java theimmutable.Seqcan be created with akka.japi.Util.immutableSeq.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - SerializationFeaturethat were configured in- akka.serialization.jackson.serialization-features
 
-    def overrideConfiguredStreamReadFeatures(bindingName: String, configuredFeatures: Seq[(StreamReadFeature, Boolean)]): Seq[(StreamReadFeature, Boolean)]StreamReadFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper.StreamReadFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - StreamReadFeaturethat were configured in- akka.serialization.jackson.stream-read-features
 
-    def overrideConfiguredStreamWriteFeatures(bindingName: String, configuredFeatures: Seq[(StreamWriteFeature, Boolean)]): Seq[(StreamWriteFeature, Boolean)]StreamWriteFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper.StreamWriteFeatures used to configure theJsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - StreamWriterFeaturethat were configured in- akka.serialization.jackson.stream-write-features
 
-    def overrideConfiguredVisibility(bindingName: String, configuredFeatures: Seq[(PropertyAccessor, Visibility)]): Seq[(PropertyAccessor, Visibility)]Visibility settings used to configure the JsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper.Visibility settings used to configure the JsonFactoryBuilderthat, if provided, will later be used to create anObjectMapper. These settings can be amended programmatically by overriding this method and return the values that are to be applied to theJsonFactoryBuilder.- bindingName
- bindingName name of this - ObjectMapper
- configuredFeatures
- the list of - PropertyAccessor/- JsonAutoDetect.Visibilitythat were configured in- akka.serialization.jackson.visibility
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- (Since version 9) 
 
-    def formatted(fmtstr: String): String- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toStringFormat[JacksonObjectMapperFactory] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
- (Since version 2.12.16) Use - formatString.format(value)instead of- value.formatted(formatString), or use the- f""string interpolator. In Java 15 and later,- formattedresolves to the new method in String which has reversed parameters.
 
-    def →[B](y: B): (JacksonObjectMapperFactory, B)- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory toArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
- (Since version 2.13.0) Use - ->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.