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 classDecoder.BooleanDecoderstatic classDecoder.DoubleDecoderstatic classDecoder.FloatDecoderstatic classDecoder.IntDecoderstatic classDecoder.LongDecoderstatic classDecoder.ShortDecoder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectdecode(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
-
-