public void writeName(String name) {
        if (startObject) {
            startObject = false;
        } else {
            writeComma();
        }

        boolean unquote = (context.features & UnquoteFieldName.mask) != 0;
        if (unquote && (name.indexOf(quote) >= 0 || name.indexOf('\\') >= 0)) {
            unquote = false;
        }

        if (unquote) {
            writeRaw(name);
            return;
        }

        writeString(name);
    }
If ReferenceDetection has been set, returns the path of the current object, otherwise returns null
@since 2.0.51
@return the path of the current object
core/src/main/java/com/alibaba/fastjson2/JSONWriter.java