程序包 | 说明 |
---|---|
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 SerializerFactory.Config |
SerializerFactory.getConfig() |
abstract SerializerFactory.Config |
SerializerFactory.Config.withAdditionalKeySerializers(Serializers additional) |
abstract SerializerFactory.Config |
SerializerFactory.Config.withAdditionalSerializers(Serializers additional)
Method for creating a new instance with additional serializer provider.
|
abstract SerializerFactory.Config |
SerializerFactory.Config.withSerializerModifier(BeanSerializerModifier modifier)
Method for creating a new instance with additional bean serializer modifier.
|
限定符和类型 | 方法和说明 |
---|---|
abstract SerializerFactory |
SerializerFactory.withConfig(SerializerFactory.Config config)
Method used for creating a new instance of this factory, but with different
configuration.
|
限定符和类型 | 类和说明 |
---|---|
static class |
BeanSerializerFactory.ConfigImpl
Configuration settings container class for bean serializer factory
|
限定符和类型 | 字段和说明 |
---|---|
protected SerializerFactory.Config |
BeanSerializerFactory._factoryConfig
Configuration settings for this factory; immutable instance (just like this
factory), new version created via copy-constructor (fluent-style)
|
限定符和类型 | 方法和说明 |
---|---|
SerializerFactory.Config |
BeanSerializerFactory.getConfig() |
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withAdditionalKeySerializers(Serializers additional) |
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withAdditionalSerializers(Serializers additional) |
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withSerializerModifier(BeanSerializerModifier modifier) |
限定符和类型 | 方法和说明 |
---|---|
SerializerFactory |
CustomSerializerFactory.withConfig(SerializerFactory.Config config) |
SerializerFactory |
BeanSerializerFactory.withConfig(SerializerFactory.Config config)
Method used by module registration functionality, to attach additional
serializer providers into this serializer factory.
|
构造器和说明 |
---|
BeanSerializerFactory(SerializerFactory.Config config)
Constructor for creating instances with specified configuration.
|
CustomSerializerFactory(SerializerFactory.Config config) |