Module tools.jackson.databind
Package tools.jackson.databind.deser
Class SettableAnyProperty.JsonNodeFieldAnyProperty
java.lang.Object
tools.jackson.databind.deser.SettableAnyProperty
tools.jackson.databind.deser.SettableAnyProperty.JsonNodeFieldAnyProperty
- Enclosing class:
- SettableAnyProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.deser.SettableAnyProperty
SettableAnyProperty.JsonNodeFieldAnyProperty, SettableAnyProperty.JsonNodeParameterAnyProperty, SettableAnyProperty.MapFieldAnyProperty, SettableAnyProperty.MapParameterAnyProperty, SettableAnyProperty.MethodAnyProperty -
Field Summary
FieldsFields inherited from class tools.jackson.databind.deser.SettableAnyProperty
_keyDeserializer, _property, _setter, _setterIsField, _type, _valueDeserializer, _valueTypeDeserializer -
Constructor Summary
ConstructorsConstructorDescriptionJsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void_set(DeserializationContext ctxt, Object instance, Object propName, Object value) deserialize(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 tools.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, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory)
-
-
Method Details
-
deserializeAndSet
public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws JacksonException 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:
JacksonException
-
deserialize
- Overrides:
deserializein classSettableAnyProperty- Throws:
JacksonException
-
_set
protected void _set(DeserializationContext ctxt, Object instance, Object propName, Object value) throws Exception - Specified by:
_setin classSettableAnyProperty- Throws:
Exception
-
setProperty
protected void setProperty(Object instance, String propName, JsonNode value) throws JacksonException - Throws:
JacksonException
-
withValueDeserializer
- Specified by:
withValueDeserializerin classSettableAnyProperty
-