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): ObjectMapper
Override this method to create a new custom instance of
ObjectMapper
for the givenserializerIdentifier
.Override this method to create a new custom instance of
ObjectMapper
for the givenserializerIdentifier
.- bindingName
name of this
ObjectMapper
- jsonFactory
optional
JsonFactory
such asCBORFactory
, for plain JSONNone
(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
ObjectMapper
the configured deserialization features are applied to the mapper.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 theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
DeserializationFeature
that were configured inakka.serialization.jackson.deserialization-features
- def overrideConfiguredJsonGeneratorFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]
After construction of the
ObjectMapper
the configured JSON generator features are applied to the mapper.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 theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonGenerator.Feature
that were configured inakka.serialization.jackson.json-generator-features
- def overrideConfiguredJsonParserFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]
After construction of the
ObjectMapper
the configured JSON parser features are applied to the mapper.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 theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonParser.Feature
that were configured inakka.serialization.jackson.json-parser-features
- def overrideConfiguredJsonReadFeatures(bindingName: String, configuredFeatures: Seq[(JsonReadFeature, Boolean)]): Seq[(JsonReadFeature, Boolean)]
JsonReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.JsonReadFeature
s used to configure theJsonFactoryBuilder
that, 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
JsonReadFeature
that were configured inakka.serialization.jackson.json-read-features
- def overrideConfiguredJsonWriteFeatures(bindingName: String, configuredFeatures: Seq[(JsonWriteFeature, Boolean)]): Seq[(JsonWriteFeature, Boolean)]
JsonWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.JsonWriteFeature
s used to configure theJsonFactoryBuilder
that, 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
JsonWriteFeature
that were configured inakka.serialization.jackson.json-write-features
- def overrideConfiguredMapperFeatures(bindingName: String, configuredFeatures: Seq[(MapperFeature, Boolean)]): Seq[(MapperFeature, Boolean)]
After construction of the
ObjectMapper
the configured mapper features are applied to the mapper.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 theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
MapperFeatures
that were configured inakka.serialization.jackson.mapper-features
- def overrideConfiguredModules(bindingName: String, configuredModules: Seq[Module]): Seq[Module]
After construction of the
ObjectMapper
the configured modules are added to the mapper.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 theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredModules
the list of
Modules
that were configured inakka.serialization.jackson.deserialization-features
- def overrideConfiguredSerializationFeatures(bindingName: String, configuredFeatures: Seq[(SerializationFeature, Boolean)]): Seq[(SerializationFeature, Boolean)]
After construction of the
ObjectMapper
the configured serialization features are applied to the mapper.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 theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
SerializationFeature
that were configured inakka.serialization.jackson.serialization-features
- def overrideConfiguredStreamReadFeatures(bindingName: String, configuredFeatures: Seq[(StreamReadFeature, Boolean)]): Seq[(StreamReadFeature, Boolean)]
StreamReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.StreamReadFeature
s used to configure theJsonFactoryBuilder
that, 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
StreamReadFeature
that were configured inakka.serialization.jackson.stream-read-features
- def overrideConfiguredStreamWriteFeatures(bindingName: String, configuredFeatures: Seq[(StreamWriteFeature, Boolean)]): Seq[(StreamWriteFeature, Boolean)]
StreamWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.StreamWriteFeature
s used to configure theJsonFactoryBuilder
that, 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
StreamWriterFeature
that were configured inakka.serialization.jackson.stream-write-features
- def overrideConfiguredVisibility(bindingName: String, configuredFeatures: Seq[(PropertyAccessor, Visibility)]): Seq[(PropertyAccessor, Visibility)]
Visibility settings used to configure the
JsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.Visibility settings used to configure the
JsonFactoryBuilder
that, 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.Visibility
that were configured inakka.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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves 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.