Class MaybeEmptyArrayDecoder

  • All Implemented Interfaces:
    Decoder

    public class MaybeEmptyArrayDecoder
    extends java.lang.Object
    implements Decoder
    • Field Detail

    • Constructor Detail

      • MaybeEmptyArrayDecoder

        public MaybeEmptyArrayDecoder​(Binding binding)
    • Method Detail

      • decode

        public java.lang.Object decode​(JsonIterator iter)
                                throws java.io.IOException
        Description copied from interface: Decoder
        Customized decoder to read values from iterator
        Specified by:
        decode in interface Decoder
        Parameters:
        iter - the iterator instance
        Returns:
        the value to set
        Throws:
        java.io.IOException - when reading from iterator triggered error