Class AbstractJacksonJsonObjectMapper<N,P,J>  
java.lang.Object
org.springframework.integration.support.json.AbstractJacksonJsonObjectMapper<N,P,J>  
- Type Parameters:
- N- - The expected type of JSON Node.
- P- - The expected type of JSON Parser.
- J- - The expected type of Java Type representation.
- All Implemented Interfaces:
- Aware,- BeanClassLoaderAware,- JsonObjectMapper<N,- P> 
- Direct Known Subclasses:
- Jackson2JsonObjectMapper
public abstract class AbstractJacksonJsonObjectMapper<N,P,J>  
extends Object
implements JsonObjectMapper<N,P>, BeanClassLoaderAware 
Base class for Jackson 
JsonObjectMapper implementations.- Since:
- 3.0
- Author:
- Artem Bilan
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract JconstructType(Type type) protected JcreateJavaType(Map<String, Object> javaTypes, String javaTypeKey) protected abstract JextractJavaType(Map<String, Object> javaTypes) protected abstract <T> T<T> T<T> T<T> TfromJson(Object json, ResolvableType valueType) Deserialize a JSON to an expectedResolvableType.protected ClassLoadervoidsetBeanClassLoader(ClassLoader classLoader) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.support.json.JsonObjectMapperfromJson, populateJavaTypes, toJson, toJson, toJsonNode
- 
Field Details- 
SUPPORTED_JSON_TYPES
 
- 
- 
Constructor Details- 
AbstractJacksonJsonObjectMapperpublic AbstractJacksonJsonObjectMapper()
 
- 
- 
Method Details- 
setBeanClassLoader- Specified by:
- setBeanClassLoaderin interface- BeanClassLoaderAware
 
- 
getClassLoader
- 
fromJson- Specified by:
- fromJsonin interface- JsonObjectMapper<N,- P> 
- Throws:
- IOException
 
- 
fromJsonDescription copied from interface:JsonObjectMapperDeserialize a JSON to an expectedResolvableType.- Specified by:
- fromJsonin interface- JsonObjectMapper<N,- P> 
- Type Parameters:
- T- the expected object type
- Parameters:
- json- the JSON to deserialize
- valueType- the- ResolvableTypefor the target object.
- Returns:
- deserialization result object
- Throws:
- IOException- a JSON parsing exception
 
- 
fromJson- Specified by:
- fromJsonin interface- JsonObjectMapper<N,- P> 
- Throws:
- IOException
 
- 
createJavaType
- 
fromJson- Throws:
- IOException
 
- 
extractJavaType
- 
constructType
 
-