Class Decoder.FloatDecoder

    • Constructor Detail

      • FloatDecoder

        public FloatDecoder()
    • Method Detail

      • decode

        public java.lang.Object decode​(JsonIterator iter)
                                throws java.io.IOException
        Description copied from interface: Decoder
        Customized decoder to read values from iterator
        Specified by:
        decode in interface Decoder
        Parameters:
        iter - the iterator instance
        Returns:
        the value to set
        Throws:
        java.io.IOException - when reading from iterator triggered error
      • decodeFloat

        public abstract float decodeFloat​(JsonIterator iter)
                                   throws java.io.IOException
        Throws:
        java.io.IOException