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
  • Method Details

    • decode

      Object decode(JsonIterator iter) throws IOException
      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