Package io.micronaut.serde.jackson
Interface JacksonObjectMapper
- All Superinterfaces:
io.micronaut.json.JsonMapper,ObjectMapper
- All Known Implementing Classes:
JacksonJsonMapper
A variation of
ObjectMapper that allows to clone JacksonObjectMapper with a new SerdeJacksonConfiguration.- Since:
- 2.9
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.ObjectMapper
ObjectMapper.CloseableObjectMapper -
Method Summary
Modifier and TypeMethodDescription@NonNull JacksonObjectMappercloneWithConfiguration(@NonNull 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, readValueFromTree, readValueFromTree, updateValueFromTree, writeValue, writeValue, writeValueAsBytes, writeValueAsBytes, writeValueAsString, writeValueAsString, writeValueToTree, writeValueToTreeMethods inherited from interface io.micronaut.serde.ObjectMapper
cloneWithConfiguration, cloneWithFeatures, writeValueAsString
-
Method Details
-
cloneWithConfiguration
@NonNull @NonNull JacksonObjectMapper cloneWithConfiguration(@NonNull @NonNull SerdeJacksonConfiguration jacksonConfiguration) Create a newJacksonObjectMapperwith the given configuration.- Parameters:
jacksonConfiguration- TheSerdeJacksonConfiguration- Returns:
- A new
JacksonObjectMapperwith the updated config - Since:
- 2.9
-