Class Decoder.ShortDecoder
java.lang.Object
com.jsoniter.spi.Decoder.ShortDecoder
- All Implemented Interfaces:
Decoder
- Direct Known Subclasses:
MaybeStringShortDecoder, StringShortDecoder
- 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 shortdecodeShort(JsonIterator iter)
-
Constructor Details
-
ShortDecoder
public ShortDecoder()
-
-
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
-
decodeShort
- Throws:
IOException
-