protected static boolean isWriteAsString(BigDecimal value, long features) {
        return (features & MASK_WRITE_NON_STRING_VALUE_AS_STRING) != 0
                || ((features & MASK_BROWSER_COMPATIBLE) != 0 && !isJavaScriptSupport(value));
    }
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