public class JsonSmartMappingProvider extends Object implements MappingProvider
Constructor and Description |
---|
JsonSmartMappingProvider() |
JsonSmartMappingProvider(Callable<net.minidev.json.writer.JsonReader> factory) |
JsonSmartMappingProvider(net.minidev.json.writer.JsonReader jsonReader) |
Modifier and Type | Method and Description |
---|---|
<T> T |
map(Object source,
Class<T> targetType,
Configuration configuration) |
<T> T |
map(Object source,
TypeRef<T> targetType,
Configuration configuration) |
public JsonSmartMappingProvider(net.minidev.json.writer.JsonReader jsonReader)
public JsonSmartMappingProvider(Callable<net.minidev.json.writer.JsonReader> factory)
public JsonSmartMappingProvider()
public <T> T map(Object source, Class<T> targetType, Configuration configuration)
map
in interface MappingProvider
T
- the mapped result typesource
- object to maptargetType
- the type the source object should be mapped toconfiguration
- current configurationpublic <T> T map(Object source, TypeRef<T> targetType, Configuration configuration)
map
in interface MappingProvider
T
- the mapped result typesource
- object to maptargetType
- the type the source object should be mapped toconfiguration
- current configurationCopyright © 2019. All rights reserved.