core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF8.java [4622:4651]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static int skipNull(JSONReaderUTF8 jsonReader, byte[] bytes, int offset, int end) {
        if (offset + 3 > end || IOUtils.notNULL(bytes, offset - 1)) {
            throw jsonReader.error();
        }
        offset += 3;
        int ch = offset == end ? EOI : bytes[offset++];

        while (ch <= ' ' && ((1L << ch) & SPACE) != 0) {
            ch = offset == end ? EOI : bytes[offset++];
        }

        boolean comma = false;
        if (ch == ',') {
            comma = true;
            ch = offset == end ? EOI : bytes[offset++];
            while (ch <= ' ' && ((1L << ch) & SPACE) != 0) {
                ch = offset == end ? EOI : bytes[offset++];
            }

            if ((ch == '}' || ch == ']' || ch == EOI)) {
                throw jsonReader.error(offset, ch);
            }
        } else if (ch != '}' && ch != ']' && ch != EOI) {
            throw jsonReader.error(offset, ch);
        }

        jsonReader.comma = comma;
        jsonReader.ch = (char) ch;
        return offset;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core/src/main/java/com/alibaba/fastjson2/JSONReaderUTF16.java [3484:3513]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static int skipNull(JSONReaderUTF16 jsonReader, char[] bytes, int offset, int end) {
        if (offset + 3 > end || IOUtils.notNULL(bytes, offset - 1)) {
            throw jsonReader.error();
        }
        offset += 3;
        int ch = offset == end ? EOI : bytes[offset++];

        while (ch <= ' ' && ((1L << ch) & SPACE) != 0) {
            ch = offset == end ? EOI : bytes[offset++];
        }

        boolean comma = false;
        if (ch == ',') {
            comma = true;
            ch = offset == end ? EOI : bytes[offset++];
            while (ch <= ' ' && ((1L << ch) & SPACE) != 0) {
                ch = offset == end ? EOI : bytes[offset++];
            }

            if ((ch == '}' || ch == ']' || ch == EOI)) {
                throw jsonReader.error(offset, ch);
            }
        } else if (ch != '}' && ch != ']' && ch != EOI) {
            throw jsonReader.error(offset, ch);
        }

        jsonReader.comma = comma;
        jsonReader.ch = (char) ch;
        return offset;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



