public static JSONObject from(Object obj, JSONWriter.Feature... writeFeatures) {
        return (JSONObject) JSON.toJSON(obj, writeFeatures);
    }
See {@link JSON#toJSON} for details
core/src/main/java/com/alibaba/fastjson2/JSONObject.java