程序包 | 说明 |
---|---|
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.
|
org.codehaus.jackson.map.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.std |
类和说明 |
---|
BeanSerializerModifier
Abstract class that defines API for objects that can be registered (for
BeanSerializerFactory
to participate in constructing BeanSerializer instances. |
FilterProvider
Interface for objects that providers instances of
BeanPropertyFilter
that match given ids. |
类和说明 |
---|
AnyGetterWriter
Class similar to
BeanPropertyWriter , but that will be used
for serializing JsonAnyGetter annotated
(Map) properties |
BasicSerializerFactory
Factory class that can provide serializers for standard JDK classes,
as well as custom classes that extend standard classes or implement
one of "well-known" interfaces (such as
Collection ). |
BeanPropertyFilter
Interface that defines API for filter objects use (as configured
using
JsonFilter )
for filtering bean properties to serialize. |
BeanPropertyWriter
Base bean property handler class, which implements common parts of
reflection-based functionality for accessing a property value
and serializing it.
|
BeanSerializer
Serializer class that can serialize arbitrary bean objects
Implementation note: we will post-process resulting serializer,
to figure out actual serializers for final types.
|
BeanSerializerBuilder
Builder class used for aggregating deserialization information about
a POJO, in order to build a
JsonSerializer for serializing
intances. |
BeanSerializerFactory
Factory class that can provide serializers for any regular Java beans
(as defined by "having at least one get method recognizable as bean
accessor" -- where
Object.getClass() does not count);
as well as for "standard" JDK types. |
BeanSerializerModifier
Abstract class that defines API for objects that can be registered (for
BeanSerializerFactory
to participate in constructing BeanSerializer instances. |
PropertyBuilder
Helper class for
BeanSerializerFactory that is used to
construct BeanPropertyWriter instances. |
SerializerBase
已过时。
Since 1.9 use
SerializerBase |
StdSerializerProvider
Default
SerializerProvider implementation. |
StdSerializers.NumberSerializer
As a fallback, we may need to use this serializer for other
types of
Number s (custom types). |
ToStringSerializer
已过时。
Since 1.9 use
ToStringSerializer |
类和说明 |
---|
BeanPropertyFilter
Interface that defines API for filter objects use (as configured
using
JsonFilter )
for filtering bean properties to serialize. |
BeanPropertyWriter
Base bean property handler class, which implements common parts of
reflection-based functionality for accessing a property value
and serializing it.
|
FilterProvider
Interface for objects that providers instances of
BeanPropertyFilter
that match given ids. |
类和说明 |
---|
AnyGetterWriter
Class similar to
BeanPropertyWriter , but that will be used
for serializing JsonAnyGetter annotated
(Map) properties |
BeanPropertyFilter
Interface that defines API for filter objects use (as configured
using
JsonFilter )
for filtering bean properties to serialize. |
BeanPropertyWriter
Base bean property handler class, which implements common parts of
reflection-based functionality for accessing a property value
and serializing it.
|
SerializerBase
已过时。
Since 1.9 use
SerializerBase |