Class Decoder.DoubleDecoder
java.lang.Object
com.jsoniter.spi.Decoder.DoubleDecoder
- All Implemented Interfaces:
Decoder
- Direct Known Subclasses:
MaybeStringDoubleDecoder, StringDoubleDecoder
- Enclosing interface:
Decoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface 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 doubledecodeDouble(JsonIterator iter)
-
Constructor Details
-
DoubleDecoder
public DoubleDecoder()
-
-
Method Details
-
decode
Description copied from interface:DecoderCustomized decoder to read values from iterator- Specified by:
decodein interfaceDecoder- Parameters:
iter- the iterator instance- Returns:
- the value to set
- Throws:
IOException- when reading from iterator triggered error
-
decodeDouble
- Throws:
IOException
-