Package com.jsoniter.spi
Class Decoder.FloatDecoder
java.lang.Object
com.jsoniter.spi.Decoder.FloatDecoder
- All Implemented Interfaces:
Decoder
- Direct Known Subclasses:
MaybeStringFloatDecoder
,StringFloatDecoder
- Enclosing interface:
Decoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jsoniter.spi.Decoder
Decoder.BooleanDecoder, Decoder.DoubleDecoder, Decoder.FloatDecoder, Decoder.IntDecoder, Decoder.LongDecoder, Decoder.ShortDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode
(JsonIterator iter) Customized decoder to read values from iteratorabstract float
decodeFloat
(JsonIterator iter)
-
Constructor Details
-
FloatDecoder
public FloatDecoder()
-
-
Method Details
-
decode
Description copied from interface:Decoder
Customized decoder to read values from iterator- Specified by:
decode
in interfaceDecoder
- Parameters:
iter
- the iterator instance- Returns:
- the value to set
- Throws:
IOException
- when reading from iterator triggered error
-
decodeFloat
- Throws:
IOException
-