public final void writeDouble(double[] value, DecimalFormat format) {
        if (format == null || jsonb) {
            writeDouble(value);
            return;
        }

        if (value == null) {
            writeNull();
            return;
        }

        startArray();
        for (int i = 0; i < value.length; i++) {
            if (i != 0) {
                writeComma();
            }

            String str = format.format(value[i]);
            writeRaw(str);
        }
        endArray();
    }
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