Package com.jayway.jsonpath
Class TypeRef<T>
java.lang.Object
com.jayway.jsonpath.TypeRef<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Comparable<TypeRef<T>>
Used to specify generic type information in
ReadContext
TypeRef ref = new TypeRefinvalid input: '<'List>() { };
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
-
Constructor Details
-
TypeRef
protected TypeRef()
-
-
Method Details
-
getType
-
compareTo
The only reason we define this method (and require implementation ofComparable
) is to prevent constructing a reference without type information.- Specified by:
compareTo
in interfaceComparable<T>
-