public class JsonSmartMappingProvider extends java.lang.Object implements MappingProvider
| Modifier and Type | Class and Description |
|---|---|
private static class |
JsonSmartMappingProvider.BigDecimalReader |
private static class |
JsonSmartMappingProvider.DateReader |
private static class |
JsonSmartMappingProvider.DoubleReader |
private static class |
JsonSmartMappingProvider.FloatReader |
private static class |
JsonSmartMappingProvider.IntegerReader |
private static class |
JsonSmartMappingProvider.LongReader |
private static class |
JsonSmartMappingProvider.StringReader |
| Modifier and Type | Field and Description |
|---|---|
private static net.minidev.json.writer.JsonReader |
DEFAULT |
private java.util.concurrent.Callable<net.minidev.json.writer.JsonReader> |
factory |
| Constructor and Description |
|---|
JsonSmartMappingProvider() |
JsonSmartMappingProvider(java.util.concurrent.Callable<net.minidev.json.writer.JsonReader> factory) |
JsonSmartMappingProvider(net.minidev.json.writer.JsonReader jsonReader) |
| 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) |
private static net.minidev.json.writer.JsonReader DEFAULT
private final java.util.concurrent.Callable<net.minidev.json.writer.JsonReader> factory
public JsonSmartMappingProvider(net.minidev.json.writer.JsonReader jsonReader)
public JsonSmartMappingProvider(java.util.concurrent.Callable<net.minidev.json.writer.JsonReader> factory)
public JsonSmartMappingProvider()
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