|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeReference | |
---|---|
com.fasterxml.jackson.core | Main public API classes of the core streaming JSON
processor: most importantly JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
com.fasterxml.jackson.core.type | Contains classes needed for type introspection, mostly used by data binding functionality. |
Uses of TypeReference in com.fasterxml.jackson.core |
---|
Methods in com.fasterxml.jackson.core with parameters of type TypeReference | ||
---|---|---|
abstract
|
ObjectCodec.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
|
JsonParser.readValueAs(TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
abstract
|
ObjectCodec.readValues(JsonParser jp,
TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream, all with same specified value type. |
|
|
JsonParser.readValuesAs(TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream, all with same specified value type. |
Uses of TypeReference in com.fasterxml.jackson.core.type |
---|
Methods in com.fasterxml.jackson.core.type with parameters of type TypeReference | |
---|---|
int |
TypeReference.compareTo(TypeReference<T> o)
The only reason we define this method (and require implementation of Comparable ) is to prevent constructing a
reference without type information. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |