程序包 | 说明 |
---|---|
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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.ser.std | |
org.codehaus.jackson.map.type | |
org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
org.codehaus.jackson.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
限定符和类型 | 接口和说明 |
---|---|
interface |
JsonSerializableWithType
Interface that is to replace
JsonSerializable to
allow for dynamic type information embedding. |
限定符和类型 | 方法和说明 |
---|---|
void |
SerializableSerializer.serialize(JsonSerializable value,
JsonGenerator jgen,
SerializerProvider provider) |
void |
SerializableSerializer.serializeWithType(JsonSerializable value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
限定符和类型 | 类和说明 |
---|---|
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 |
SimpleType
Simple types are defined as anything other than one of recognized
container types (arrays, Collections, Maps).
|
class |
TypeBase |
限定符和类型 | 类和说明 |
---|---|
class |
JSONPObject
Container class that can be used to wrap any Object instances (including
nulls), and will serialize embedded in
JSONP wrapping.
|
class |
JSONWrappedObject
General-purpose wrapper class that can be used to decorate serialized
value with arbitrary literal prefix and suffix.
|
限定符和类型 | 类和说明 |
---|---|
class |
ArrayNode
Node class that represents Arrays mapped from Json content.
|
class |
BaseJsonNode
Abstract base class common to all standard
JsonNode
implementations. |
class |
BigIntegerNode
Numeric node that contains simple 64-bit integer values.
|
class |
BinaryNode
Value node that contains Base64 encoded binary value, which will be
output and stored as Json String value.
|
class |
BooleanNode
This concrete value class is used to contain boolean (true / false)
values.
|
class |
ContainerNode
This intermediate base class is used for all container nodes,
specifically, array and object nodes.
|
class |
DecimalNode
Numeric node that contains values that do not fit in simple
integer (int, long) or floating point (double) values.
|
class |
DoubleNode
Numeric node that contains 64-bit ("double precision")
floating point values simple 32-bit integer values.
|
class |
IntNode
Numeric node that contains simple 32-bit integer values.
|
class |
LongNode
Numeric node that contains simple 64-bit integer values.
|
class |
MissingNode
This singleton node class is generated to denote "missing nodes"
along paths that do not exist.
|
class |
NullNode
This singleton value class is used to contain explicit JSON null
value.
|
class |
NumericNode
Intermediate value node used for numeric nodes.
|
class |
ObjectNode
Node that maps to JSON Object structures in JSON content.
|
class |
POJONode
Value node that contains a wrapped POJO, to be serialized as
a JSON constructed through data mapping (usually done by
calling
ObjectMapper ). |
class |
TextNode
Value node that contains a text value.
|
class |
ValueNode
This intermediate base class is used for all leaf nodes, that is,
all non-container (array or object) nodes, except for the
"missing node".
|