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 DefaultSerializerProvider |
SequenceWriter._provider |
protected DefaultSerializerProvider |
ObjectWriter._serializerProvider |
protected DefaultSerializerProvider |
ObjectMapper._serializerProvider
Object that manages access to serializers used for serialization,
including caching.
|
Modifier and Type | Method and Description |
---|---|
protected DefaultSerializerProvider |
ObjectWriter._serializerProvider()
Overridable helper method used for constructing
SerializerProvider to use for serialization. |
protected DefaultSerializerProvider |
ObjectMapper._serializerProvider(SerializationConfig config)
Overridable helper method used for constructing
SerializerProvider to use for serialization. |
Modifier and Type | Method and Description |
---|---|
void |
ObjectWriter.Prefetch.serialize(JsonGenerator gen,
Object value,
DefaultSerializerProvider prov) |
ObjectMapper |
ObjectMapper.setSerializerProvider(DefaultSerializerProvider p)
Method for setting "blueprint"
SerializerProvider instance
to use as the base for actual provider instances to use for handling
caching of JsonSerializer instances. |
Constructor and Description |
---|
ObjectMapper(JsonFactory jf,
DefaultSerializerProvider sp,
DefaultDeserializationContext dc)
Constructs instance that uses specified
JsonFactory
for constructing necessary JsonParser s and/or
JsonGenerator s, and uses given providers for accessing
serializers and deserializers. |
SequenceWriter(DefaultSerializerProvider prov,
JsonGenerator gen,
boolean closeGenerator,
ObjectWriter.Prefetch prefetch) |
Modifier and Type | Class and Description |
---|---|
static class |
DefaultSerializerProvider.Impl
Concrete implementation that defines factory method(s),
defined as final.
|
Modifier and Type | Method and Description |
---|---|
DefaultSerializerProvider |
DefaultSerializerProvider.copy()
Method needed to ensure that
ObjectMapper.copy() will work
properly; specifically, that caches are cleared, but settings
will otherwise remain identical; and that no sharing of state
occurs. |
DefaultSerializerProvider |
DefaultSerializerProvider.Impl.copy() |
abstract DefaultSerializerProvider |
DefaultSerializerProvider.createInstance(SerializationConfig config,
SerializerFactory jsf)
Method that sub-classes need to implement: used to create a non-blueprint instances
from the blueprint.
|
Constructor and Description |
---|
DefaultSerializerProvider(DefaultSerializerProvider src) |
Copyright © 2008–2018 FasterXML. All rights reserved.