Class FloatTypeDeserializer

  • All Implemented Interfaces:
    javax.json.bind.serializer.JsonbDeserializer<java.lang.Float>

    public class FloatTypeDeserializer
    extends AbstractNumberDeserializer<java.lang.Float>
    Deserializer for Float type.
    • Constructor Detail

      • FloatTypeDeserializer

        public FloatTypeDeserializer​(Customization customization)
        Creates a new instance.
        Parameters:
        customization - Model customization.
    • Method Detail

      • deserialize

        protected java.lang.Float deserialize​(java.lang.String jsonValue,
                                              Unmarshaller unmarshaller,
                                              java.lang.reflect.Type rtType)
        Description copied from class: AbstractValueTypeDeserializer
        Convert string value to object.
        Overrides:
        deserialize in class AbstractValueTypeDeserializer<java.lang.Float>
        Parameters:
        jsonValue - Json value.
        unmarshaller - Unmarshaller instance.
        rtType - Runtime type.
        Returns:
        Deserialized object.