Class JacksonMapperUtils
java.lang.Object
org.springframework.kafka.support.JacksonMapperUtils
The utilities for Jackson
ObjectMapper
instances.- Since:
- 4.0
- Author:
- Artem Bilan, Soby Chacko
-
Method Summary
Modifier and TypeMethodDescriptionstatic tools.jackson.databind.json.JsonMapper
Factory forObjectMapper
instances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSION
andDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
features.
-
Method Details
-
enhancedJsonMapper
public static tools.jackson.databind.json.JsonMapper enhancedJsonMapper()Factory forObjectMapper
instances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSION
andDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
features.- Returns:
- the
JsonMapper
instance.
-