Class AnySetterDeserializer<T,​V>

java.lang.Object

public abstract class AnySetterDeserializer<T,​V>
extends HasDeserializerAndParameters<V,​JsonDeserializer<V>>
Deserializes a bean's property
Version:
$Id: $
Author:
Nicolas Morel
  • Constructor Details

    • AnySetterDeserializer

      public AnySetterDeserializer()
  • Method Details

    • deserialize

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

      public abstract void setValue​(T bean, java.lang.String propertyName, V value, JsonDeserializationContext ctx)

      setValue

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