Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
Modifier and Type | Field and Description |
---|---|
protected SerializerFactory |
SerializerProvider._serializerFactory
Factory used for constructing actual serializer instances.
|
protected SerializerFactory |
ObjectWriter._serializerFactory |
protected SerializerFactory |
ObjectMapper._serializerFactory
Serializer factory used for constructing serializers.
|
Modifier and Type | Method and Description |
---|---|
SerializerFactory |
ObjectMapper.getSerializerFactory()
Method for getting current
SerializerFactory . |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setSerializerFactory(SerializerFactory f)
Method for setting specific
SerializerFactory to use
for constructing (bean) serializers. |
Constructor and Description |
---|
SerializerProvider(SerializerProvider src,
SerializationConfig config,
SerializerFactory f)
"Copy-constructor", used by sub-classes when creating actual non-blueprint
instances to use.
|
Modifier and Type | Class and Description |
---|---|
class |
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 ). |
class |
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. |
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.
|
SerializerFactory |
BeanSerializerFactory.withConfig(SerializerFactoryConfig config)
Method used by module registration functionality, to attach additional
serializer providers into this serializer factory.
|
abstract SerializerFactory |
BasicSerializerFactory.withConfig(SerializerFactoryConfig config)
Method used for creating a new instance of this factory, but with different
configuration.
|
abstract SerializerFactory |
SerializerFactory.withSerializerModifier(BeanSerializerModifier modifier)
Convenience method for creating a new factory instance with additional bean
serializer modifier; equivalent to calling
|
SerializerFactory |
BasicSerializerFactory.withSerializerModifier(BeanSerializerModifier modifier)
Convenience method for creating a new factory instance with additional bean
serializer modifier.
|
Modifier and Type | Method and Description |
---|---|
abstract DefaultSerializerProvider |
DefaultSerializerProvider.createInstance(SerializationConfig config,
SerializerFactory jsf)
Overridable method, used to create a non-blueprint instances from the blueprint.
|
DefaultSerializerProvider.Impl |
DefaultSerializerProvider.Impl.createInstance(SerializationConfig config,
SerializerFactory jsf) |
Constructor and Description |
---|
DefaultSerializerProvider.Impl(SerializerProvider src,
SerializationConfig config,
SerializerFactory f) |
DefaultSerializerProvider(SerializerProvider src,
SerializationConfig config,
SerializerFactory f) |
Copyright © 2008–2016 FasterXML. All rights reserved.