Package com.jsoniter.spi
Interface Decoder
-
- All Known Implementing Classes:
Decoder.BooleanDecoder
,Decoder.DoubleDecoder
,Decoder.FloatDecoder
,Decoder.IntDecoder
,Decoder.LongDecoder
,Decoder.ShortDecoder
,MapKeyDecoders.EnumKeyDecoder
,MapKeyDecoders.NumberKeyDecoder
,MapKeyDecoders.StringKeyDecoder
,MaybeEmptyArrayDecoder
,MaybeStringDoubleDecoder
,MaybeStringFloatDecoder
,MaybeStringIntDecoder
,MaybeStringLongDecoder
,MaybeStringShortDecoder
,ReflectionArrayDecoder
,ReflectionCollectionDecoder
,ReflectionEnumDecoder
,ReflectionMapDecoder
,ReflectionObjectDecoder.OnlyField
,ReflectionObjectDecoder.WithCtor
,ReflectionObjectDecoder.WithWrapper
,StringDoubleDecoder
,StringFloatDecoder
,StringIntDecoder
,StringLongDecoder
,StringShortDecoder
public interface Decoder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Decoder.BooleanDecoder
static class
Decoder.DoubleDecoder
static class
Decoder.FloatDecoder
static class
Decoder.IntDecoder
static class
Decoder.LongDecoder
static class
Decoder.ShortDecoder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
decode(JsonIterator iter)
Customized decoder to read values from iterator
-
-
-
Method Detail
-
decode
java.lang.Object decode(JsonIterator iter) throws java.io.IOException
Customized decoder to read values from iterator- Parameters:
iter
- the iterator instance- Returns:
- the value to set
- Throws:
java.io.IOException
- when reading from iterator triggered error
-
-