程序包 | 说明 |
---|---|
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.deser |
Contains implementation classes of deserialization part of
data binding.
|
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.
|
限定符和类型 | 方法和说明 |
---|---|
abstract List<BeanPropertyDefinition> |
BeanDescription.findProperties() |
限定符和类型 | 方法和说明 |
---|---|
void |
BeanDeserializerBuilder.addCreatorProperty(BeanPropertyDefinition propDef)
Method called by deserializer factory, when a "creator property"
(something that is passed via constructor- or factory method argument;
instead of setter or field).
|
限定符和类型 | 类和说明 |
---|---|
class |
POJOPropertyBuilder
Helper class used for aggregating information about a single
potential POJO property.
|
限定符和类型 | 字段和说明 |
---|---|
protected List<BeanPropertyDefinition> |
BasicBeanDescription._properties
Properties collected for the POJO.
|
限定符和类型 | 方法和说明 |
---|---|
List<BeanPropertyDefinition> |
BasicBeanDescription.findProperties() |
List<BeanPropertyDefinition> |
POJOPropertiesCollector.getProperties() |
构造器和说明 |
---|
BasicBeanDescription(MapperConfig<?> config,
JavaType type,
AnnotatedClass ac,
List<BeanPropertyDefinition> properties) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
BeanSerializerFactory.removeIgnorableTypes(SerializationConfig config,
BasicBeanDescription beanDesc,
List<BeanPropertyDefinition> properties)
Method that will apply by-type limitations (as per [JACKSON-429]);
by default this is based on
JsonIgnoreType annotation but
can be supplied by module-provided introspectors too. |
protected void |
BeanSerializerFactory.removeSetterlessGetters(SerializationConfig config,
BasicBeanDescription beanDesc,
List<BeanPropertyDefinition> properties)
Helper method that will remove all properties that do not have a
mutator.
|