Class Jackson2EventSerializer
java.lang.Object
org.springframework.modulith.events.jackson2.Jackson2EventSerializer
- All Implemented Interfaces:
org.springframework.modulith.events.core.EventSerializer
@Deprecated
class Jackson2EventSerializer
extends Object
implements org.springframework.modulith.events.core.EventSerializer
Deprecated.
A Jackson-based
EventSerializer.- Since:
- 2.0
- Author:
- Oliver Drotbohm
-
Constructor Summary
ConstructorsConstructorDescriptionJackson2EventSerializer(Supplier<com.fasterxml.jackson.databind.ObjectMapper> mapper) Deprecated.Creates a newJackson2EventSerializerfor the givenObjectMapper. -
Method Summary
-
Constructor Details
-
Jackson2EventSerializer
Deprecated.Creates a newJackson2EventSerializerfor the givenObjectMapper.- Parameters:
mapper- must not be null.
-
-
Method Details
-
serialize
Deprecated.- Specified by:
serializein interfaceorg.springframework.modulith.events.core.EventSerializer
-
deserialize
Deprecated.- Specified by:
deserializein interfaceorg.springframework.modulith.events.core.EventSerializer
-
JacksonEventSerializationConfiguration.