Class BeanPropertyDeserializer<T,V>
java.lang.Object
org.dominokit.jacksonapt.deser.bean.HasDeserializer<V,S>
org.dominokit.jacksonapt.deser.bean.HasDeserializerAndParameters<V,JsonDeserializer<V>>
org.dominokit.jacksonapt.deser.bean.BeanPropertyDeserializer<T,V>
public abstract class BeanPropertyDeserializer<T,V> extends HasDeserializerAndParameters<V,JsonDeserializer<V>>
Deserializes a bean's property
- Version:
- $Id: $
- Author:
- Nicolas Morel
-
Constructor Summary
Constructors Constructor Description BeanPropertyDeserializer() -
Method Summary
Modifier and Type Method Description voiddeserialize(JsonReader reader, T bean, JsonDeserializationContext ctx)Deserializes the property defined for this instance.abstract voidsetValue(T bean, V value, JsonDeserializationContext ctx)setValueMethods inherited from class org.dominokit.jacksonapt.deser.bean.HasDeserializerAndParameters
deserialize, getParameters, newParametersMethods inherited from class org.dominokit.jacksonapt.deser.bean.HasDeserializer
getDeserializer, newDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BeanPropertyDeserializer
public BeanPropertyDeserializer()
-
-
Method Details
-
deserialize
Deserializes the property defined for this instance.- Parameters:
reader- readerbean- bean to set the deserialized property toctx- context of the deserialization process
-
setValue
setValue
- Parameters:
bean- a T object.value- a V object.ctx- aJsonDeserializationContextobject.
-