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.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.
|
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 © 2014-2015 FasterXML. All Rights Reserved.