Package | Description |
---|---|
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
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.type |
Contains classes needed for type introspection, mostly used by data binding
functionality.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.type |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
ObjectCodec.readValue(JsonParser p,
ResolvedType valueType)
Method to deserialize JSON content into a POJO, type specified
with fully resolved type object (so it can be a generic type,
including containers like
Collection and
Map ). |
abstract <T> Iterator<T> |
ObjectCodec.readValues(JsonParser p,
ResolvedType valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
Modifier and Type | Method and Description |
---|---|
abstract ResolvedType |
ResolvedType.containedType(int index)
Method for accessing definitions of contained ("child")
types.
|
abstract ResolvedType |
ResolvedType.getContentType()
Method for accessing content type of this type, if type has
such a thing: simple types do not, structured types do
(like arrays, Collections and Maps)
|
abstract ResolvedType |
ResolvedType.getKeyType()
Method for accessing key type for this type, assuming type
has such a concept (only Map types do)
|
abstract ResolvedType |
ResolvedType.getReferencedType()
Method for accessing type of value that instances of this
type references, if any.
|
Modifier and Type | Class and Description |
---|---|
class |
JavaType
Base class for type token classes used both to contain information
and as keys for deserializers.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
ObjectReader.readValue(JsonParser p,
ResolvedType valueType)
Convenience method that binds content read using given parser, using
configuration of this reader, except that expected value type
is specified with the call (instead of currently configured root type).
|
<T> T |
ObjectMapper.readValue(JsonParser p,
ResolvedType valueType)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> Iterator<T> |
ObjectReader.readValues(JsonParser p,
ResolvedType valueType)
Convenience method that is equivalent to:
|
<T> MappingIterator<T> |
ObjectMapper.readValues(JsonParser p,
ResolvedType valueType)
Convenience method, equivalent in function to:
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
Array types represent Java arrays, both primitive and object valued.
|
class |
CollectionLikeType
Type that represents things that act similar to
Collection ;
but may or may not be instances of that interface. |
class |
CollectionType
Type that represents Java Collection types (Lists, Sets).
|
class |
MapLikeType
Type that represents Map-like types; things that consist of key/value pairs
but that do not necessarily implement
Map , but that do not
have enough introspection functionality to allow for some level of generic
handling. |
class |
MapType
Type that represents "true" Java Map types.
|
class |
PlaceholderForType
Helper type used when introspecting bindings for already resolved types,
needed for specialization.
|
class |
ReferenceType
Specialized
SimpleType for types that are referential types,
that is, values that can be dereferenced to another value (or null),
of different type. |
class |
ResolvedRecursiveType
Internal placeholder type used for self-references.
|
class |
SimpleType
Simple types are defined as anything other than one of recognized
container types (arrays, Collections, Maps).
|
class |
TypeBase |
Copyright © 2019 JBoss by Red Hat. All rights reserved.