Top Description Fields Constructors Methods
tools.jackson.databind.deser.impl

public Class UnwrappedPropertyHandler

extends Object
Class Inheritance
Imports
java.util.*, tools.jackson.core.*, tools.jackson.databind.DeserializationContext, .PropertyName, tools.jackson.databind.deser.SettableBeanProperty, tools.jackson.databind.deser.bean.PropertyValueBuffer, tools.jackson.databind.util.NameTransformer, .TokenBuffer

Object that is responsible for handling acrobatics related to deserializing "unwrapped" values; sets of properties that are embedded (inlined) as properties of parent JSON object.

Field Summary

Modifier and TypeField and Description
protected final List<SettableBeanProperty>
protected final List<SettableBeanProperty>
public static final String

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
public void
public void
public static PropertyName
creatorParamName(int index)

Generates a placeholder name for creator properties that don't have a name, but are marked with `@JsonWrapped` annotation.

public Object
public PropertyValueBuffer
public UnwrappedPropertyHandler
private List<SettableBeanProperty>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_creatorPropertiesback to summary
protected final List<SettableBeanProperty> _creatorProperties
Since
2.19
_propertiesback to summary
protected final List<SettableBeanProperty> _properties
JSON_UNWRAPPED_NAME_PREFIXback to summary
public static final String JSON_UNWRAPPED_NAME_PREFIX
Since
2.19

Constructor Detail

UnwrappedPropertyHandlerback to summary
public UnwrappedPropertyHandler()
UnwrappedPropertyHandlerback to summary
protected UnwrappedPropertyHandler(List<SettableBeanProperty> creatorProps, List<SettableBeanProperty> props)

Method Detail

addCreatorPropertyback to summary
public void addCreatorProperty(SettableBeanProperty property)
Since
2.19
addPropertyback to summary
public void addProperty(SettableBeanProperty property)
creatorParamNameback to summary
public static PropertyName creatorParamName(int index)

Generates a placeholder name for creator properties that don't have a name, but are marked with `@JsonWrapped` annotation.

Since
2.19
processUnwrappedback to summary
public Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered)
Annotations
@SuppressWarnings:resource
processUnwrappedCreatorPropertiesback to summary
public PropertyValueBuffer processUnwrappedCreatorProperties(JsonParser originalParser, DeserializationContext ctxt, PropertyValueBuffer values, TokenBuffer buffered)
Since
2.19
renameAllback to summary
public UnwrappedPropertyHandler renameAll(DeserializationContext ctxt, NameTransformer transformer)
renamePropertiesback to summary
private List<SettableBeanProperty> renameProperties(DeserializationContext ctxt, Collection<SettableBeanProperty> properties, NameTransformer transformer)