Class UnwrappedPropertyHandler
java.lang.Object
com.fasterxml.jackson.databind.deser.impl.UnwrappedPropertyHandler
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCreatorProperty(SettableBeanProperty property) voidaddProperty(SettableBeanProperty property) static PropertyNamecreatorParamName(int index) Generates a placeholder name for creator properties that don't have a name, but are marked with `@JsonWrapped` annotation.processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) processUnwrappedCreatorProperties(JsonParser originalParser, DeserializationContext ctxt, PropertyValueBuffer values, TokenBuffer buffered) renameAll(NameTransformer transformer)
-
Field Details
-
JSON_UNWRAPPED_NAME_PREFIX
- Since:
- 2.19
- See Also:
-
-
Constructor Details
-
UnwrappedPropertyHandler
public UnwrappedPropertyHandler()
-
-
Method Details
-
addCreatorProperty
- Since:
- 2.19
-
addProperty
-
renameAll
-
processUnwrappedCreatorProperties
public PropertyValueBuffer processUnwrappedCreatorProperties(JsonParser originalParser, DeserializationContext ctxt, PropertyValueBuffer values, TokenBuffer buffered) throws IOException - Throws:
IOException- Since:
- 2.19
-
processUnwrapped
public Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) throws IOException - Throws:
IOException
-
creatorParamName
Generates a placeholder name for creator properties that don't have a name, but are marked with `@JsonWrapped` annotation.- Since:
- 2.19
-