Package | Description |
---|---|
com.jayway.jsonpath | |
com.jayway.jsonpath.internal | |
com.jayway.jsonpath.spi.mapper |
Modifier and Type | Method and Description |
---|---|
int |
TypeRef.compareTo(TypeRef<T> o)
The only reason we define this method (and require implementation
of
Comparable ) is to prevent constructing a
reference without type information. |
<T> T |
ReadContext.read(JsonPath path,
TypeRef<T> typeRef)
Reads the given path from this context
Sample code to create a TypeRef
TypeRef ref = new TypeRef |
<T> T |
ReadContext.read(String path,
TypeRef<T> typeRef)
Reads the given path from this context
Sample code to create a TypeRef
TypeRef ref = new TypeRef |
Modifier and Type | Method and Description |
---|---|
<T> T |
JsonContext.read(JsonPath path,
TypeRef<T> type) |
<T> T |
JsonContext.read(String path,
TypeRef<T> type) |
Modifier and Type | Method and Description |
---|---|
<T> T |
GsonMappingProvider.map(Object source,
TypeRef<T> targetType,
Configuration configuration) |
<T> T |
JacksonMappingProvider.map(Object source,
TypeRef<T> targetType,
Configuration configuration) |
<T> T |
JsonSmartMappingProvider.map(Object source,
TypeRef<T> targetType,
Configuration configuration) |
<T> T |
MappingProvider.map(Object source,
TypeRef<T> targetType,
Configuration configuration) |
Copyright © 2021. All rights reserved.