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]) @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newCBORMapperBuilder(factory: CBORFactory): Builder
- def newObjectMapperBuilder(jsonFactory: JsonFactory): Builder
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def overrideConfiguredDateTimeFeatures(bindingName: String, configuredFeatures: Seq[(DateTimeFeature, Boolean)]): Seq[(DateTimeFeature, Boolean)]
After construction of the
ObjectMapperthe configured datetime features are applied to the mapper.After construction of the
ObjectMapperthe configured datetime 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.When implementing a
JacksonObjectMapperFactorywith Java theimmutable.Seqcan be created with pekko.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper- configuredFeatures
the list of
DateTimeFeaturethat were configured inpekko.serialization.jackson3.datetime-features
- 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 programmatically 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 pekko.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper- configuredFeatures
the list of
DeserializationFeaturethat were configured inpekko.serialization.jackson3.deserialization-features
- def overrideConfiguredEnumFeatures(bindingName: String, configuredFeatures: Seq[(EnumFeature, Boolean)]): Seq[(EnumFeature, Boolean)]
After construction of the
ObjectMapperthe configured enum features are applied to the mapper.After construction of the
ObjectMapperthe configured enum 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.When implementing a
JacksonObjectMapperFactorywith Java theimmutable.Seqcan be created with pekko.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper- configuredFeatures
the list of
DateTimeFeaturethat were configured inpekko.serialization.jackson3.enum-features
- def overrideConfiguredJsonGeneratorFeatures(bindingName: String, configuredFeatures: Seq[(StreamWriteFeature, Boolean)]): Seq[(StreamWriteFeature, 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
StreamWriteFeaturethat were configured inpekko.serialization.jackson3.json-generator-features
- def overrideConfiguredJsonParserFeatures(bindingName: String, configuredFeatures: Seq[(StreamReadFeature, Boolean)]): Seq[(StreamReadFeature, 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
StreamReadFeaturethat were configured inpekko.serialization.jackson3.stream-read-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 inpekko.serialization.jackson3.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 inpekko.serialization.jackson3.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 inpekko.serialization.jackson3.mapper-features
- def overrideConfiguredModules(bindingName: String, configuredModules: Seq[tools.jackson.databind.JacksonModule]): Seq[tools.jackson.databind.JacksonModule]
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 programmatically 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 pekko.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper- configuredModules
the list of
Modulesthat were configured inpekko.serialization.jackson3.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 programmatically 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 pekko.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper- configuredFeatures
the list of
SerializationFeaturethat were configured inpekko.serialization.jackson3.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 inpekko.serialization.jackson3.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 inpekko.serialization.jackson3.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 inpekko.serialization.jackson3.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 ofvalue.formatted(formatString), or use thef""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.