|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TypeReference | |
---|---|
org.codehaus.jackson | Main public API classes of the core streaming JSON
processor: most importantly JsonFactory
used for constructing
Json parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.map | Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.codehaus.jackson.map.type | Package that contains concrete implementations of
JavaType , as
well as the factory (TypeFactory ) for
constructing instances from various input data types
(like Class , Type )
and programmatically (for structured types, arrays,
List s and Map s). |
org.codehaus.jackson.type | Contains classes needed for type introspection, mostly used by data binding functionality. |
Uses of TypeReference in org.codehaus.jackson |
---|
Methods in org.codehaus.jackson 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. |
Uses of TypeReference in org.codehaus.jackson.map |
---|
Methods in org.codehaus.jackson.map with parameters of type TypeReference | ||
---|---|---|
|
ObjectMapper.convertValue(Object fromValue,
TypeReference toValueTypeRef)
|
|
|
ObjectMapper.readValue(byte[] src,
int offset,
int len,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(File src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(InputStream src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize Json content into a Java type, reference to which is passed as argument. |
|
|
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef,
DeserializationConfig cfg)
Method to deserialize Json content into a Java type, reference to which is passed as argument. |
|
|
ObjectMapper.readValue(Reader src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(String content,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(URL src,
TypeReference valueTypeRef)
|
Uses of TypeReference in org.codehaus.jackson.map.type |
---|
Methods in org.codehaus.jackson.map.type with parameters of type TypeReference | |
---|---|
static JavaType |
TypeFactory.fromTypeReference(TypeReference<?> ref)
Deprecated. Use TypeFactory.type(Type) instead |
static JavaType |
TypeFactory.type(TypeReference<?> ref)
Factory method that can be used if the full generic type has been passed using TypeReference . |
Uses of TypeReference in org.codehaus.jackson.type |
---|
Methods in org.codehaus.jackson.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 |