Interface MappingProvider
- All Known Implementing Classes:
GsonMappingProvider, JacksonMappingProvider, JsonSmartMappingProvider
public interface MappingProvider
Maps object between different Types
-
Method Summary
Modifier and TypeMethodDescription<T> Tmap(Object source, TypeRef<T> targetType, Configuration configuration) <T> Tmap(Object source, Class<T> targetType, Configuration configuration)
-
Method Details
-
map
- Type Parameters:
T- the mapped result type- Parameters:
source- object to maptargetType- the type the source object should be mapped toconfiguration- current configuration- Returns:
- return the mapped object
-
map
- Type Parameters:
T- the mapped result type- Parameters:
source- object to maptargetType- the type the source object should be mapped toconfiguration- current configuration- Returns:
- return the mapped object
-