public class UnwrappedPropertyHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<SettableBeanProperty> |
_creatorProperties |
protected List<SettableBeanProperty> |
_properties |
static String |
JSON_UNWRAPPED_NAME_PREFIX |
| Modifier | Constructor and Description |
|---|---|
|
UnwrappedPropertyHandler() |
protected |
UnwrappedPropertyHandler(List<SettableBeanProperty> props)
Deprecated.
|
protected |
UnwrappedPropertyHandler(List<SettableBeanProperty> creatorProps,
List<SettableBeanProperty> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCreatorProperty(SettableBeanProperty property) |
void |
addProperty(SettableBeanProperty property) |
static PropertyName |
creatorParamName(int index)
Generates a placeholder name for creator properties that don't have a name,
but are marked with
@JsonUnwrapped annotation. |
Object |
processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
PropertyValueBuffer |
processUnwrappedCreatorProperties(JsonParser originalParser,
DeserializationContext ctxt,
PropertyValueBuffer values,
TokenBuffer buffered) |
UnwrappedPropertyHandler |
renameAll(NameTransformer transformer) |
public static final String JSON_UNWRAPPED_NAME_PREFIX
protected final List<SettableBeanProperty> _creatorProperties
protected final List<SettableBeanProperty> _properties
public UnwrappedPropertyHandler()
@Deprecated protected UnwrappedPropertyHandler(List<SettableBeanProperty> props)
protected UnwrappedPropertyHandler(List<SettableBeanProperty> creatorProps, List<SettableBeanProperty> props)
public void addCreatorProperty(SettableBeanProperty property)
public void addProperty(SettableBeanProperty property)
public UnwrappedPropertyHandler renameAll(NameTransformer transformer)
public PropertyValueBuffer processUnwrappedCreatorProperties(JsonParser originalParser, DeserializationContext ctxt, PropertyValueBuffer values, TokenBuffer buffered) throws IOException
IOExceptionpublic Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) throws IOException
IOExceptionpublic static PropertyName creatorParamName(int index)
@JsonUnwrapped annotation.Copyright © 2008–2026 FasterXML. All rights reserved.