public static JSONWriter ofPretty(JSONWriter writer) {
        if (writer.pretty == PRETTY_NON) {
            writer.pretty = PRETTY_TAB;
            writer.context.features |= PrettyFormat.mask;
        }
        return writer;
    }
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