protected static class SettableAnyProperty.JsonNodeFieldAnyProperty extends SettableAnyProperty implements Serializable
SettableAnyProperty.JsonNodeFieldAnyProperty, SettableAnyProperty.MapFieldAnyProperty, SettableAnyProperty.MethodAnyProperty
Modifier and Type | Field and Description |
---|---|
protected JsonNodeFactory |
_nodeFactory |
_keyDeserializer, _property, _setter, _setterIsField, _type, _valueDeserializer, _valueTypeDeserializer
Constructor and Description |
---|
JsonNodeFieldAnyProperty(BeanProperty property,
AnnotatedMember field,
JavaType valueType,
JsonDeserializer<Object> valueDeser,
JsonNodeFactory nodeFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
_set(Object instance,
Object propName,
Object value) |
Object |
deserialize(JsonParser p,
DeserializationContext ctxt) |
void |
deserializeAndSet(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) |
SettableAnyProperty |
withValueDeserializer(JsonDeserializer<Object> deser) |
_throwAsIOE, constructForJsonNodeField, constructForMapField, constructForMethod, fixAccess, getProperty, getPropertyName, getType, hasValueDeserializer, set, toString
protected final JsonNodeFactory _nodeFactory
public JsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory)
public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance, String propName) throws IOException
SettableAnyProperty
deserializeAndSet
in class SettableAnyProperty
IOException
public Object deserialize(JsonParser p, DeserializationContext ctxt) throws IOException
deserialize
in class SettableAnyProperty
IOException
protected void _set(Object instance, Object propName, Object value) throws Exception
_set
in class SettableAnyProperty
Exception
protected void setProperty(Object instance, String propName, JsonNode value) throws IOException
IOException
public SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser)
withValueDeserializer
in class SettableAnyProperty
Copyright © 2008–2023 FasterXML. All rights reserved.