程序包 | 说明 |
---|---|
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.annotate |
Annotations that directly depend on Mapper classes (not just
Jackson core) and are used for configuring Data Mapping functionality.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 方法和说明 |
---|---|
abstract JsonSerialize.Typing |
AnnotationIntrospector.findSerializationTyping(Annotated a)
Method for accessing declared typing mode annotated (if any).
|
JsonSerialize.Typing |
AnnotationIntrospector.Pair.findSerializationTyping(Annotated a) |
限定符和类型 | 方法和说明 |
---|---|
static JsonSerialize.Typing |
JsonSerialize.Typing.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JsonSerialize.Typing[] |
JsonSerialize.Typing.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Typing |
NopAnnotationIntrospector.findSerializationTyping(Annotated a) |
JsonSerialize.Typing |
JacksonAnnotationIntrospector.findSerializationTyping(Annotated a) |
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Typing |
JaxbAnnotationIntrospector.findSerializationTyping(Annotated a) |