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 `@JsonWrapped` 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
IOException
public Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) throws IOException
IOException
public static PropertyName creatorParamName(int index)
Copyright © 2008–2025 FasterXML. All rights reserved.