Class Jackson2JsonObjectMapper
java.lang.Object
org.springframework.integration.support.json.AbstractJacksonJsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType>
org.springframework.integration.support.json.Jackson2JsonObjectMapper
- All Implemented Interfaces:
- Aware,- BeanClassLoaderAware,- JsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser>
@Deprecated(since="7.0",
            forRemoval=true)
public class Jackson2JsonObjectMapper
extends AbstractJacksonJsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType>
Deprecated, for removal: This API element is subject to removal in a future version.
Jackson 2 JSON-processor (@link https://github.com/FasterXML)
 JsonObjectMapper implementation.
 Delegates 
toJson(java.lang.Object) and fromJson(java.lang.Object, com.fasterxml.jackson.databind.JavaType)
 to the ObjectMapper
 It customizes Jackson's default properties with the following ones:
- MapperFeature.DEFAULT_VIEW_INCLUSIONis disabled
- DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIESis disabled
- The well-known modules are registered through the classpath scan
org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
 in the spring-web for more information.- Since:
- 3.0
- Author:
- Artem Bilan, Vikas Prasad
- 
Field SummaryFields inherited from class org.springframework.integration.support.json.AbstractJacksonJsonObjectMapperSUPPORTED_JSON_TYPES
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Jackson2JsonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JavaTypeconstructType(Type type) Deprecated, for removal: This API element is subject to removal in a future version.protected com.fasterxml.jackson.databind.JavaTypeextractJavaType(Map<String, Object> javaTypes) Deprecated, for removal: This API element is subject to removal in a future version.<T> TDeprecated, for removal: This API element is subject to removal in a future version.protected <T> TDeprecated, for removal: This API element is subject to removal in a future version.com.fasterxml.jackson.databind.ObjectMapperDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.com.fasterxml.jackson.databind.JsonNodetoJsonNode(Object json) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.integration.support.json.AbstractJacksonJsonObjectMappercreateJavaType, fromJson, fromJson, fromJson, getClassLoader, setBeanClassLoaderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.support.json.JsonObjectMapperpopulateJavaTypes
- 
Constructor Details- 
Jackson2JsonObjectMapperpublic Jackson2JsonObjectMapper()Deprecated, for removal: This API element is subject to removal in a future version.
- 
Jackson2JsonObjectMapperpublic Jackson2JsonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
getObjectMapperpublic com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Deprecated, for removal: This API element is subject to removal in a future version.
- 
toJson
- 
toJsonDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
- IOException
 
- 
toJsonNodeDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
- IOException
 
- 
fromJsonprotected <T> T fromJson(Object json, com.fasterxml.jackson.databind.JavaType type) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- fromJsonin class- AbstractJacksonJsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType>
- Throws:
- IOException
 
- 
fromJsonpublic <T> T fromJson(com.fasterxml.jackson.core.JsonParser parser, Type valueType) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
- IOException
 
- 
extractJavaTypeDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- extractJavaTypein class- AbstractJacksonJsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType>
 
- 
constructTypeDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
- constructTypein class- AbstractJacksonJsonObjectMapper<com.fasterxml.jackson.databind.JsonNode, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JavaType>
 
 
- 
JacksonJsonObjectMapperfor Jackson 3.