protected static class SettableAnyProperty.JsonNodeParameterAnyProperty extends SettableAnyProperty implements Serializable
SettableAnyProperty.JsonNodeFieldAnyProperty, SettableAnyProperty.JsonNodeParameterAnyProperty, SettableAnyProperty.MapFieldAnyProperty, SettableAnyProperty.MapParameterAnyProperty, SettableAnyProperty.MethodAnyProperty
Modifier and Type | Field and Description |
---|---|
protected JsonNodeFactory |
_nodeFactory |
protected int |
_parameterIndex |
_keyDeserializer, _property, _setter, _setterIsField, _type, _valueDeserializer, _valueTypeDeserializer
Constructor and Description |
---|
JsonNodeParameterAnyProperty(BeanProperty property,
AnnotatedMember field,
JavaType valueType,
JsonDeserializer<Object> valueDeser,
JsonNodeFactory nodeFactory,
int parameterIndex) |
Modifier and Type | Method and Description |
---|---|
protected void |
_set(Object instance,
Object propName,
Object value) |
Object |
createParameterObject()
Create an instance of value to pass through Creator parameter.
|
Object |
deserialize(com.fasterxml.jackson.core.JsonParser p,
DeserializationContext ctxt) |
int |
getParameterIndex()
Accessor for parameterIndex.
|
SettableAnyProperty |
withValueDeserializer(JsonDeserializer<Object> deser) |
_throwAsIOE, constructForJsonNodeField, constructForJsonNodeParameter, constructForMapField, constructForMapParameter, constructForMethod, deserializeAndSet, fixAccess, getProperty, getPropertyName, getType, hasValueDeserializer, isFieldType, set, toString
protected final JsonNodeFactory _nodeFactory
protected final int _parameterIndex
public JsonNodeParameterAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory, int parameterIndex)
public Object deserialize(com.fasterxml.jackson.core.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
public SettableAnyProperty withValueDeserializer(JsonDeserializer<Object> deser)
withValueDeserializer
in class SettableAnyProperty
public int getParameterIndex()
SettableAnyProperty
getParameterIndex
in class SettableAnyProperty
public Object createParameterObject()
SettableAnyProperty
createParameterObject
in class SettableAnyProperty
Copyright © 2008–2024 FasterXML. All rights reserved.