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.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
NameTransformer |
AnnotationIntrospector.findUnwrappingNameTransformer(AnnotatedMember member)
Method called to check whether given property is marked to be "unwrapped"
when being serialized (and appropriately handled in reverse direction,
i.e.
|
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<T> |
JsonDeserializer.unwrappingDeserializer(NameTransformer unwrapper)
Method that will return deserializer instance that is able
to handle "unwrapped" value instances
If no unwrapped instance can be constructed, will simply
return this object as-is.
|
JsonSerializer<T> |
JsonSerializer.unwrappingSerializer(NameTransformer unwrapper)
Method that will return serializer instance that produces
"unwrapped" serialization, if applicable for type being
serialized (which is the case for some serializers
that produce JSON Objects as output).
|
Modifier and Type | Method and Description |
---|---|
protected NameTransformer |
BeanDeserializerBase._findPropertyUnwrapper(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonDeserializer<Object> |
BeanDeserializerBase.unwrappingDeserializer(NameTransformer unwrapper) |
JsonDeserializer<Object> |
BeanDeserializer.unwrappingDeserializer(NameTransformer transformer) |
JsonDeserializer<Object> |
BuilderBasedDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Constructor and Description |
---|
BeanDeserializer(BeanDeserializerBase src,
NameTransformer unwrapper) |
BeanDeserializerBase(BeanDeserializerBase src,
NameTransformer unwrapper) |
BuilderBasedDeserializer(BuilderBasedDeserializer src,
NameTransformer unwrapper) |
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanPropertyMap._rename(SettableBeanProperty prop,
NameTransformer xf) |
UnwrappedPropertyHandler |
UnwrappedPropertyHandler.renameAll(NameTransformer transformer) |
BeanPropertyMap |
BeanPropertyMap.renameAll(NameTransformer transformer)
Mutant factory method for constructing a map where all entries use given
prefix
|
JsonDeserializer<Object> |
BeanAsArrayBuilderDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
JsonDeserializer<Object> |
BeanAsArrayDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<Object> |
ThrowableDeserializer.unwrappingDeserializer(NameTransformer unwrapper) |
Constructor and Description |
---|
ThrowableDeserializer(BeanDeserializer src,
NameTransformer unwrapper)
Alternative constructor used when creating "unwrapping" deserializers
|
Modifier and Type | Method and Description |
---|---|
NameTransformer |
JacksonAnnotationIntrospector.findUnwrappingNameTransformer(AnnotatedMember member) |
NameTransformer |
AnnotationIntrospectorPair.findUnwrappingNameTransformer(AnnotatedMember member) |
Modifier and Type | Method and Description |
---|---|
BeanPropertyWriter |
BeanPropertyWriter.rename(NameTransformer transformer) |
JsonSerializer<Object> |
BeanSerializer.unwrappingSerializer(NameTransformer unwrapper) |
BeanPropertyWriter |
BeanPropertyWriter.unwrappingWriter(NameTransformer unwrapper)
Method called create an instance that handles details of unwrapping
contained value.
|
Modifier and Type | Field and Description |
---|---|
protected NameTransformer |
UnwrappingBeanSerializer._nameTransformer
Transformer used to add prefix and/or suffix for properties
of unwrapped POJO.
|
protected NameTransformer |
UnwrappingBeanPropertyWriter._nameTransformer
Transformer used to add prefix and/or suffix for properties
of unwrapped POJO.
|
Modifier and Type | Method and Description |
---|---|
protected UnwrappingBeanPropertyWriter |
UnwrappingBeanPropertyWriter._new(NameTransformer transformer,
com.fasterxml.jackson.core.io.SerializedString newName)
Overridable factory method used by sub-classes
|
UnwrappingBeanPropertyWriter |
UnwrappingBeanPropertyWriter.rename(NameTransformer transformer) |
JsonSerializer<Object> |
BeanAsArraySerializer.unwrappingSerializer(NameTransformer transformer) |
JsonSerializer<Object> |
UnwrappingBeanSerializer.unwrappingSerializer(NameTransformer transformer) |
Constructor and Description |
---|
UnwrappingBeanPropertyWriter(BeanPropertyWriter base,
NameTransformer unwrapper) |
UnwrappingBeanPropertyWriter(UnwrappingBeanPropertyWriter base,
NameTransformer transformer,
com.fasterxml.jackson.core.io.SerializedString name) |
UnwrappingBeanSerializer(BeanSerializerBase src,
NameTransformer transformer)
Constructor used for creating unwrapping instance of a
standard
BeanSerializer |
Modifier and Type | Field and Description |
---|---|
protected NameTransformer |
ReferenceTypeSerializer._unwrapper
In case of unwrapping, need name transformer.
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer<T> |
ReferenceTypeSerializer.unwrappingSerializer(NameTransformer transformer) |
protected ReferenceTypeSerializer<AtomicReference<?>> |
AtomicReferenceSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper) |
protected abstract ReferenceTypeSerializer<T> |
ReferenceTypeSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper)
Mutant factory method called when changes are needed; should construct
newly configured instance with new values as indicated.
|
Constructor and Description |
---|
AtomicReferenceSerializer(AtomicReferenceSerializer base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
Object suppressableValue,
boolean suppressNulls) |
BeanSerializerBase(BeanSerializerBase src,
NameTransformer unwrapper)
Copy-constructor that will also rename properties with given prefix
(if it's non-empty)
|
ReferenceTypeSerializer(ReferenceTypeSerializer<?> base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
Object suppressableValue,
boolean suppressNulls) |
Modifier and Type | Class and Description |
---|---|
static class |
NameTransformer.Chained |
protected static class |
NameTransformer.NopTransformer |
Modifier and Type | Field and Description |
---|---|
protected NameTransformer |
NameTransformer.Chained._t1 |
protected NameTransformer |
NameTransformer.Chained._t2 |
static NameTransformer |
NameTransformer.NOP
Singleton "no-operation" transformer which simply returns given
name as is.
|
Modifier and Type | Method and Description |
---|---|
static NameTransformer |
NameTransformer.chainedTransformer(NameTransformer t1,
NameTransformer t2)
Method that constructs transformer that applies given transformers
as a sequence; essentially combines separate transform operations
into one logical transformation.
|
static NameTransformer |
NameTransformer.simpleTransformer(String prefix,
String suffix)
Factory method for constructing a simple transformer based on
prefix and/or suffix.
|
Modifier and Type | Method and Description |
---|---|
static NameTransformer |
NameTransformer.chainedTransformer(NameTransformer t1,
NameTransformer t2)
Method that constructs transformer that applies given transformers
as a sequence; essentially combines separate transform operations
into one logical transformation.
|
Constructor and Description |
---|
Chained(NameTransformer t1,
NameTransformer t2) |
Copyright © 2008–2022 FasterXML. All rights reserved.