Interface JacksonObjectMapper
- All Superinterfaces:
io.micronaut.json.JsonMapper, io.micronaut.serde.ObjectMapper
- All Known Implementing Classes:
JacksonJsonMapper
public interface JacksonObjectMapper
extends io.micronaut.serde.ObjectMapper
A variation of
ObjectMapper that allows to clone JacksonObjectMapper with a new SerdeJacksonConfiguration.- Since:
- 2.9
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.ObjectMapper
io.micronaut.serde.ObjectMapper.CloseableObjectMapper -
Method Summary
Modifier and TypeMethodDescriptioncloneWithConfiguration(SerdeJacksonConfiguration jacksonConfiguration) Create a newJacksonObjectMapperwith the given configuration.Methods inherited from interface io.micronaut.json.JsonMapper
cloneWithViewClass, createReactiveParser, createSpecific, detectFeatures, getStreamConfig, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValue, readValueFromTree, readValueFromTree, updateValueFromTree, writeValue, writeValue, writeValueAsBytes, writeValueAsBytes, writeValueAsString, writeValueAsString, writeValueAsString, writeValueToTree, writeValueToTreeMethods inherited from interface io.micronaut.serde.ObjectMapper
cloneWithConfiguration, cloneWithConfiguration, cloneWithFeatures, getSerdeRegistry, updateValue, updateValue, updateValue, updateValue, updateValue
-
Method Details
-
cloneWithConfiguration
Create a newJacksonObjectMapperwith the given configuration.- Parameters:
jacksonConfiguration- TheSerdeJacksonConfiguration- Returns:
- A new
JacksonObjectMapperwith the updated config - Since:
- 2.9
-