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.JsonMapperFactory forObjectMapperinstances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSIONandDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESfeatures.
-
Method Details
-
enhancedJsonMapper
public static tools.jackson.databind.json.JsonMapper enhancedJsonMapper()Factory forObjectMapperinstances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSIONandDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESfeatures.- Returns:
- the
JsonMapperinstance.
-