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 JacksonObjectMapper
cloneWithConfiguration
(@NonNull SerdeJacksonConfiguration jacksonConfiguration) Create a newJacksonObjectMapper
with 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, writeValueToTree
Methods inherited from interface io.micronaut.serde.ObjectMapper
cloneWithConfiguration, cloneWithFeatures, getSerdeRegistry, writeValueAsString
-
Method Details
-
cloneWithConfiguration
@NonNull @NonNull JacksonObjectMapper cloneWithConfiguration(@NonNull @NonNull SerdeJacksonConfiguration jacksonConfiguration) Create a newJacksonObjectMapper
with the given configuration.- Parameters:
jacksonConfiguration
- TheSerdeJacksonConfiguration
- Returns:
- A new
JacksonObjectMapper
with the updated config - Since:
- 2.9
-