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 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(SerializationConfig config)
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 |
---|---|
ObjectMapper |
ObjectMapper.setSerializerProvider(DefaultSerializerProvider p)
Method for setting specific
SerializerProvider to use
for handling caching of JsonSerializer instances. |
Constructor and Description |
---|
ObjectMapper(com.fasterxml.jackson.core.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,
com.fasterxml.jackson.core.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)
Overridable method, used to create a non-blueprint instances from the blueprint.
|
Constructor and Description |
---|
DefaultSerializerProvider(DefaultSerializerProvider src) |
Copyright © 2014-2015 FasterXML. All Rights Reserved.