Package | Description |
---|---|
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 |
org.codehaus.jackson.map.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
Modifier and Type | Class and Description |
---|---|
static class |
Serializers.Base
Basic
Serializers implementation that implements all methods but provides
no serializers. |
static class |
Serializers.None
Deprecated.
As of 1.9, use
Serializers.Base instead |
Modifier and Type | Method and Description |
---|---|
abstract Iterable<Serializers> |
SerializerFactory.Config.keySerializers() |
abstract Iterable<Serializers> |
SerializerFactory.Config.serializers() |
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.addKeySerializers(Serializers s)
Method that module can use to register additional serializers to use for
handling Map key values (which are separate from value serializers because
they must write
JsonToken.FIELD_NAME instead of String value). |
void |
Module.SetupContext.addSerializers(Serializers s)
Method that module can use to register additional serializers to use for
handling types.
|
SerializerFactory |
SerializerFactory.withAdditionalKeySerializers(Serializers additional) |
abstract SerializerFactory.Config |
SerializerFactory.Config.withAdditionalKeySerializers(Serializers additional) |
SerializerFactory |
SerializerFactory.withAdditionalSerializers(Serializers additional)
Convenience method for creating a new factory instance with additional serializer
provider; equivalent to calling
|
abstract SerializerFactory.Config |
SerializerFactory.Config.withAdditionalSerializers(Serializers additional)
Method for creating a new instance with additional serializer provider.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleSerializers
Simple implementation
Serializers which allows registration of
serializers based on raw (type erased class). |
Modifier and Type | Field and Description |
---|---|
protected Serializers[] |
BeanSerializerFactory.ConfigImpl._additionalKeySerializers |
protected Serializers[] |
BeanSerializerFactory.ConfigImpl._additionalSerializers
List of providers for additional serializers, checked before considering default
basic or bean serialializers.
|
protected static Serializers[] |
BeanSerializerFactory.ConfigImpl.NO_SERIALIZERS
Constant for empty
Serializers array (which by definition
is stateless and reusable) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Serializers> |
BeanSerializerFactory.customSerializers() |
protected abstract Iterable<Serializers> |
BasicSerializerFactory.customSerializers() |
Iterable<Serializers> |
BeanSerializerFactory.ConfigImpl.keySerializers() |
Iterable<Serializers> |
BeanSerializerFactory.ConfigImpl.serializers() |
Modifier and Type | Method and Description |
---|---|
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withAdditionalKeySerializers(Serializers additional) |
SerializerFactory.Config |
BeanSerializerFactory.ConfigImpl.withAdditionalSerializers(Serializers additional) |
Constructor and Description |
---|
BeanSerializerFactory.ConfigImpl(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |
BeanSerializerFactory.ConfigImpl(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |