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 Details

    • BeanPropertyDeserializer

      public BeanPropertyDeserializer()
  • Method Details

    • deserialize

      public void deserialize​(JsonReader reader, T bean, JsonDeserializationContext ctx)
      Deserializes the property defined for this instance.
      Parameters:
      reader - reader
      bean - bean to set the deserialized property to
      ctx - context of the deserialization process
    • setValue

      public abstract void setValue​(T bean, V value, JsonDeserializationContext ctx)

      setValue

      Parameters:
      bean - a T object.
      value - a V object.
      ctx - a JsonDeserializationContext object.