Package | Description |
---|---|
org.axonframework.serialization.json |
Modifier and Type | Method and Description |
---|---|
static JacksonSerializer.Builder |
JacksonSerializer.builder()
Instantiate a Builder to be able to create a
JacksonSerializer . |
JacksonSerializer.Builder |
JacksonSerializer.Builder.classLoader(ClassLoader classLoader)
Deprecated.
Ensure the ObjectMapper is configured with the correct class loader instead
|
JacksonSerializer.Builder |
JacksonSerializer.Builder.converter(Converter converter)
Sets the
Converter used as a converter factory providing converter instances utilized by upcasters
to convert between different content types. |
JacksonSerializer.Builder |
JacksonSerializer.Builder.defaultTyping()
Configures the underlying
ObjectMapper to include type information when serializing Java objects into
JSON. |
JacksonSerializer.Builder |
JacksonSerializer.Builder.lenientDeserialization()
Configures the underlying ObjectMapper to be lenient when deserializing JSON into Java objects.
|
JacksonSerializer.Builder |
JacksonSerializer.Builder.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Sets the
ObjectMapper used to serialize and parse the objects to JSON. |
JacksonSerializer.Builder |
JacksonSerializer.Builder.revisionResolver(RevisionResolver revisionResolver)
Sets the
RevisionResolver used to resolve the revision from an object to be serialized. |
Constructor and Description |
---|
JacksonSerializer(JacksonSerializer.Builder builder)
Instantiate a
JacksonSerializer based on the fields contained in the JacksonSerializer.Builder . |
Copyright © 2010–2020. All rights reserved.