Class Encoder.IntEncoder

    • Constructor Detail

      • IntEncoder

        public IntEncoder()
    • Method Detail

      • encode

        public void encode​(java.lang.Object obj,
                           JsonStream stream)
                    throws java.io.IOException
        Specified by:
        encode in interface Encoder
        Throws:
        java.io.IOException
      • encodeInt

        public abstract void encodeInt​(int obj,
                                       JsonStream stream)
                                throws java.io.IOException
        Throws:
        java.io.IOException