static <T> T toJavaObject(Object object, Class<T> clazz) {
        return to(clazz, object);
    }
Converts the specified object to an object of the specified goal type

@param clazz the specified goal class
@param object the specified object to be converted
@deprecated since 2.0.4, please use {@link #to(Class, Object)}
core/src/main/java/com/alibaba/fastjson2/JSON.java