Class MaybeEmptyArrayDecoder

java.lang.Object
com.jsoniter.fuzzy.MaybeEmptyArrayDecoder
All Implemented Interfaces:
Decoder

public class MaybeEmptyArrayDecoder extends Object implements Decoder
  • Field Details

    • binding

      private Binding binding
  • Constructor Details

    • MaybeEmptyArrayDecoder

      public MaybeEmptyArrayDecoder(Binding binding)
  • Method Details

    • decode

      public Object decode(JsonIterator iter) throws 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:
      IOException - when reading from iterator triggered error