Registry of shared ObjectMapper instances, each with its unique bindingName.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Scala API: Creates a new instance of a Jackson ObjectMapper with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
Scala API: Creates a new instance of a Jackson ObjectMapper with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
Value parameters
- bindingName
-
name of this
ObjectMapper - jsonFactory
-
optional
JsonFactorysuch asCBORFactory, for plain JSONNone(defaults) can be used
Attributes
- See also
Java API: Creates a new instance of a Jackson ObjectMapper with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
Java API: Creates a new instance of a Jackson ObjectMapper with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
Value parameters
- bindingName
-
name of this
ObjectMapper - jsonFactory
-
optional
JsonFactorysuch asCBORFactory, for plain JSONNone(defaults) can be used
Attributes
- See also
Scala API: Returns an existing Jackson ObjectMapper that was created previously with this method, or creates a new instance.
Scala API: Returns an existing Jackson ObjectMapper that was created previously with this method, or creates a new instance.
The ObjectMapper is created with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
The returned ObjectMapper must not be modified, because it may already be in use and such modifications are not thread-safe.
Value parameters
- bindingName
-
name of this
ObjectMapper - jsonFactory
-
optional
JsonFactorysuch asCBORFactory, for plain JSONNone(defaults) can be used
Attributes
Java API: Returns an existing Jackson ObjectMapper that was created previously with this method, or creates a new instance.
Java API: Returns an existing Jackson ObjectMapper that was created previously with this method, or creates a new instance.
The ObjectMapper is created with sensible defaults and modules configured in pekko.serialization.jackson.jackson-modules. It's using JacksonObjectMapperProviderSetup if the ActorSystem is started with such pekko.actor.setup.ActorSystemSetup.
The returned ObjectMapper must not be modified, because it may already be in use and such modifications are not thread-safe.
Value parameters
- bindingName
-
name of this
ObjectMapper - jsonFactory
-
optional
JsonFactorysuch asCBORFactory, for plain JSONNone(defaults) can be used