Class SettableAnyProperty.JsonNodeFieldAnyProperty
java.lang.Object
com.fasterxml.jackson.databind.deser.SettableAnyProperty
com.fasterxml.jackson.databind.deser.SettableAnyProperty.JsonNodeFieldAnyProperty
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SettableAnyProperty
protected static class SettableAnyProperty.JsonNodeFieldAnyProperty
extends SettableAnyProperty
implements Serializable
- Since:
- 2.14
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.SettableAnyProperty
SettableAnyProperty.JsonNodeFieldAnyProperty, SettableAnyProperty.JsonNodeParameterAnyProperty, SettableAnyProperty.MapFieldAnyProperty, SettableAnyProperty.MapParameterAnyProperty, SettableAnyProperty.MethodAnyProperty -
Field Summary
FieldsFields inherited from class com.fasterxml.jackson.databind.deser.SettableAnyProperty
_keyDeserializer, _property, _setter, _setterIsField, _type, _valueDeserializer, _valueTypeDeserializer -
Constructor Summary
ConstructorsConstructorDescriptionJsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeserialize(JsonParser p, DeserializationContext ctxt) voiddeserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).protected voidsetProperty(Object instance, String propName, JsonNode value) Methods inherited from class com.fasterxml.jackson.databind.deser.SettableAnyProperty
_throwAsIOE, constructForJsonNodeField, constructForJsonNodeParameter, constructForMapField, constructForMapParameter, constructForMethod, createParameterObject, fixAccess, getParameterIndex, getProperty, getPropertyName, getType, hasValueDeserializer, isFieldType, isSetterType, set, toString
-
Field Details
-
_nodeFactory
-
-
Constructor Details
-
JsonNodeFieldAnyProperty
public JsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory)
-
-
Method Details
-
deserializeAndSet
public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws IOException Description copied from class:SettableAnyPropertyMethod called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).- Overrides:
deserializeAndSetin classSettableAnyProperty- Throws:
IOException
-
deserialize
- Overrides:
deserializein classSettableAnyProperty- Throws:
IOException
-
_set
- Specified by:
_setin classSettableAnyProperty- Throws:
Exception
-
setProperty
- Throws:
IOException
-
withValueDeserializer
- Specified by:
withValueDeserializerin classSettableAnyProperty
-