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.MapFieldAnyProperty, 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 void
deserialize
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt) void
deserializeAndSet
(com.fasterxml.jackson.core.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 void
setProperty
(Object instance, String propName, JsonNode value) Methods inherited from class com.fasterxml.jackson.databind.deser.SettableAnyProperty
_throwAsIOE, constructForJsonNodeField, constructForMapField, constructForMethod, fixAccess, getProperty, getPropertyName, getType, hasValueDeserializer, 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(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws IOException Description copied from class:SettableAnyProperty
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).- Overrides:
deserializeAndSet
in classSettableAnyProperty
- Throws:
IOException
-
deserialize
public Object deserialize(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt) throws IOException - Overrides:
deserialize
in classSettableAnyProperty
- Throws:
IOException
-
_set
- Specified by:
_set
in classSettableAnyProperty
- Throws:
Exception
-
setProperty
- Throws:
IOException
-
withValueDeserializer
- Specified by:
withValueDeserializer
in classSettableAnyProperty
-