Package com.jayway.jsonpath.spi.mapper
Class JsonSmartMappingProvider
java.lang.Object
com.jayway.jsonpath.spi.mapper.JsonSmartMappingProvider
- All Implemented Interfaces:
MappingProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
private static class
private static class
private static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonSmartMappingProvider
(Callable<net.minidev.json.writer.JsonReader> factory) JsonSmartMappingProvider
(net.minidev.json.writer.JsonReader jsonReader) -
Method Summary
Modifier and TypeMethodDescription<T> T
map
(Object source, TypeRef<T> targetType, Configuration configuration) <T> T
map
(Object source, Class<T> targetType, Configuration configuration)
-
Field Details
-
DEFAULT
private static net.minidev.json.writer.JsonReader DEFAULT -
factory
-
-
Constructor Details
-
JsonSmartMappingProvider
public JsonSmartMappingProvider(net.minidev.json.writer.JsonReader jsonReader) -
JsonSmartMappingProvider
-
JsonSmartMappingProvider
public JsonSmartMappingProvider()
-
-
Method Details
-
map
- Specified by:
map
in interfaceMappingProvider
- 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
- Specified by:
map
in interfaceMappingProvider
- 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
-