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)
Sets the
ClassLoader used to load classes with when deserializing. |
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.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–2018. All rights reserved.