Class Decoder.LongDecoder
java.lang.Object
com.jsoniter.spi.Decoder.LongDecoder
- All Implemented Interfaces:
Decoder
- Direct Known Subclasses:
MaybeStringLongDecoder, StringLongDecoder
- 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 longdecodeLong(JsonIterator iter)
-
Constructor Details
-
LongDecoder
public LongDecoder()
-
-
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
-
decodeLong
- Throws:
IOException
-