public class JacksonMappingProvider extends java.lang.Object implements MappingProvider
| Constructor and Description |
|---|
JacksonMappingProvider() |
JacksonMappingProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
map(java.lang.Object source,
java.lang.Class<T> targetType,
Configuration configuration) |
<T> T |
map(java.lang.Object source,
TypeRef<T> targetType,
Configuration configuration) |
public JacksonMappingProvider()
public JacksonMappingProvider(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public <T> T map(java.lang.Object source,
java.lang.Class<T> targetType,
Configuration configuration)
map in interface MappingProviderT - the mapped result typesource - object to maptargetType - the type the source object should be mapped toconfiguration - current configurationpublic <T> T map(java.lang.Object source,
TypeRef<T> targetType,
Configuration configuration)
map in interface MappingProviderT - the mapped result typesource - object to maptargetType - the type the source object should be mapped toconfiguration - current configuration