Class Decoder.IntDecoder

    • Constructor Detail

      • IntDecoder

        public IntDecoder()
    • 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
      • decodeInt

        public abstract int decodeInt​(JsonIterator iter)
                               throws java.io.IOException
        Throws:
        java.io.IOException