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 ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptiondecode(JsonIterator iter) Customized decoder to read values from iterator
-
Method Details
-
decode
Customized decoder to read values from iterator- Parameters:
iter- the iterator instance- Returns:
- the value to set
- Throws:
IOException- when reading from iterator triggered error
-