code: public void writeInt(OutputStream out, int value) throws IOException {
          writeStartArray(out);
          writeIntInternal(out, value);
          writeEndArray(out);
      }
docs: Encode an integer value as JSON. An array is used to wrap the value:
  [ Integer ]
  
  @param out The stream to write JSON to
  @param value The integer value to encode
  @throws IOException If an I/O error occurs
  @see #readInt(InputStream)