Uses of Class
com.jayway.jsonpath.TypeRef
-
Packages that use TypeRef Package Description com.jayway.jsonpath com.jayway.jsonpath.internal com.jayway.jsonpath.spi.mapper -
-
Uses of TypeRef in com.jayway.jsonpath
Methods in com.jayway.jsonpath with parameters of type TypeRef Modifier and Type Method Description int
TypeRef. compareTo(TypeRef<T> o)
The only reason we define this method (and require implementation ofComparable
) 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 TypeRefTypeRef ref = new TypeRef
- >() {};
<T> T
ReadContext. read(java.lang.String path, TypeRef<T> typeRef)
Reads the given path from this context Sample code to create a TypeRefTypeRef ref = new TypeRef
- >() {};
-
Uses of TypeRef in com.jayway.jsonpath.internal
Methods in com.jayway.jsonpath.internal with parameters of type TypeRef Modifier and Type Method Description private <T> T
JsonContext. convert(java.lang.Object obj, TypeRef<T> targetType, Configuration configuration)
<T> T
JsonContext. read(JsonPath path, TypeRef<T> type)
<T> T
JsonContext. read(java.lang.String path, TypeRef<T> type)
-
Uses of TypeRef in com.jayway.jsonpath.spi.mapper
Methods in com.jayway.jsonpath.spi.mapper with parameters of type TypeRef Modifier and Type Method Description <T> T
GsonMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)
<T> T
JacksonMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)
<T> T
JsonSmartMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)
<T> T
MappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)
-