Class JacksonUtils
- java.lang.Object
-
- org.springframework.kafka.support.JacksonUtils
-
public final class JacksonUtils extends java.lang.ObjectThe utilities for JacksonObjectMapperinstances.- Since:
- 2.3
- Author:
- Artem Bilan
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMapperenhancedObjectMapper()Factory forObjectMapperinstances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSIONandDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESfeatures.static com.fasterxml.jackson.databind.ObjectMapperenhancedObjectMapper(java.lang.ClassLoader classLoader)Deprecated.since 2.7.5 in favor ofenhancedObjectMapper()
-
-
-
Method Detail
-
enhancedObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper enhancedObjectMapper()
Factory forObjectMapperinstances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSIONandDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESfeatures.- Returns:
- the
ObjectMapperinstance.
-
enhancedObjectMapper
@Deprecated public static com.fasterxml.jackson.databind.ObjectMapper enhancedObjectMapper(java.lang.ClassLoader classLoader)
Deprecated.since 2.7.5 in favor ofenhancedObjectMapper()Factory forObjectMapperinstances with registered well-known modules and disabledMapperFeature.DEFAULT_VIEW_INCLUSIONandDeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESfeatures.- Parameters:
classLoader- theClassLoaderfor modules to register.- Returns:
- the
ObjectMapperinstance.
-
-