程序包 | 说明 |
---|---|
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 |
Contains implementation classes of serialization part of
data binding.
|
限定符和类型 | 方法和说明 |
---|---|
abstract Iterable<BeanSerializerModifier> |
SerializerFactory.Config.serializerModifiers() |
限定符和类型 | 方法和说明 |
---|---|
void |
Module.SetupContext.addBeanSerializerModifier(BeanSerializerModifier mod)
Method that module can use to register additional modifier objects to
customize configuration and construction of bean serializers.
|
SerializerFactory |
SerializerFactory.withSerializerModifier(BeanSerializerModifier modifier)
Convenience method for creating a new factory instance with additional bean
serializer modifier; equivalent to calling
withConfig(getConfig().withSerializerModifier(modifier));
|
abstract SerializerFactory.Config |
SerializerFactory.Config.withSerializerModifier(BeanSerializerModifier modifier)
Method for creating a new instance with additional bean serializer modifier.
|
限定符和类型 | 字段和说明 |
---|---|
protected BeanSerializerModifier[] |
BeanSerializerFactory.ConfigImpl._modifiers
List of modifiers that can change the way
BeanSerializer instances
are configured and constructed. |
protected static BeanSerializerModifier[] |
BeanSerializerFactory.ConfigImpl.NO_MODIFIERS |
限定符和类型 | 方法和说明 |
---|---|
Iterable<BeanSerializerModifier> |
BeanSerializerFactory.ConfigImpl.serializerModifiers() |
限定符和类型 | 方法和说明 |
---|---|
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withSerializerModifier(BeanSerializerModifier modifier) |
构造器和说明 |
---|
BeanSerializerFactory.ConfigImpl(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |