程序包 | 说明 |
---|---|
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.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 字段和说明 |
---|---|
protected JsonSerialize.Inclusion |
SerializationConfig._serializationInclusion
Which Bean/Map properties are to be included in serialization?
|
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Inclusion |
AnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue)
Method for checking whether given annotated entity (class, method,
field) defines which Bean/Map properties are to be included in
serialization.
|
JsonSerialize.Inclusion |
AnnotationIntrospector.Pair.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue) |
JsonSerialize.Inclusion |
SerializationConfig.getSerializationInclusion() |
构造器和说明 |
---|
SerializationConfig(SerializationConfig src,
JsonSerialize.Inclusion incl) |
限定符和类型 | 方法和说明 |
---|---|
static JsonSerialize.Inclusion |
JsonSerialize.Inclusion.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JsonSerialize.Inclusion[] |
JsonSerialize.Inclusion.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Inclusion |
JacksonAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue) |
JsonSerialize.Inclusion |
BasicBeanDescription.findSerializationInclusion(JsonSerialize.Inclusion defValue)
Method for determining whether null properties should be written
out for a Bean of introspected type.
|
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Inclusion |
JacksonAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue) |
JsonSerialize.Inclusion |
BasicBeanDescription.findSerializationInclusion(JsonSerialize.Inclusion defValue)
Method for determining whether null properties should be written
out for a Bean of introspected type.
|
限定符和类型 | 字段和说明 |
---|---|
protected JsonSerialize.Inclusion |
PropertyBuilder._outputProps |
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Inclusion |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue)
Implementation of this method is slightly tricky, given that JAXB defaults differ
from Jackson defaults.
|
限定符和类型 | 方法和说明 |
---|---|
JsonSerialize.Inclusion |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonSerialize.Inclusion defValue)
Implementation of this method is slightly tricky, given that JAXB defaults differ
from Jackson defaults.
|