Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
com.fasterxml.jackson.databind.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Serializers[] |
SerializerFactoryConfig._additionalKeySerializers
List of providers for additional key serializers, checked before considering default
key serialializers.
|
protected Serializers[] |
SerializerFactoryConfig._additionalSerializers
List of providers for additional serializers, checked before considering default
basic or bean serialializers.
|
protected static Serializers[] |
SerializerFactoryConfig.NO_SERIALIZERS
Constant for empty
Serializers array (which by definition
is stateless and reusable) |
Modifier and Type | Method and Description |
---|---|
Iterable<Serializers> |
SerializerFactoryConfig.keySerializers() |
Iterable<Serializers> |
SerializerFactoryConfig.serializers() |
Modifier and Type | Method and Description |
---|---|
SerializerFactoryConfig |
SerializerFactoryConfig.withAdditionalKeySerializers(Serializers additional) |
SerializerFactoryConfig |
SerializerFactoryConfig.withAdditionalSerializers(Serializers additional) |
Constructor and Description |
---|
SerializerFactoryConfig(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |
SerializerFactoryConfig(Serializers[] allAdditionalSerializers,
Serializers[] allAdditionalKeySerializers,
BeanSerializerModifier[] modifiers) |
Modifier and Type | Class and Description |
---|---|
class |
CoreXMLSerializers
Provider for serializers of XML types that are part of full JDK 1.5, but
that some alleged 1.5 platforms are missing (Android, GAE).
|
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 | Class and Description |
---|---|
static class |
Serializers.Base
Basic
Serializers implementation that implements all methods but provides
no serializers. |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Serializers> |
BeanSerializerFactory.customSerializers() |
protected abstract Iterable<Serializers> |
BasicSerializerFactory.customSerializers() |
Modifier and Type | Method and Description |
---|---|
abstract SerializerFactory |
SerializerFactory.withAdditionalKeySerializers(Serializers additional) |
SerializerFactory |
BasicSerializerFactory.withAdditionalKeySerializers(Serializers additional)
Convenience method for creating a new factory instance with an additional
key serializer provider.
|
abstract SerializerFactory |
SerializerFactory.withAdditionalSerializers(Serializers additional)
Convenience method for creating a new factory instance with additional serializer
provider; equivalent to calling
|
SerializerFactory |
BasicSerializerFactory.withAdditionalSerializers(Serializers additional)
Convenience method for creating a new factory instance with an additional
serializer provider.
|
Copyright © 2012-2013 FasterXML. All Rights Reserved.