public void copyTo(Object object, JSONReader.Feature... features) {
        long featuresValue = JSONFactory.defaultReaderFeatures | JSONReader.Feature.of(features);
        boolean fieldBased = JSONReader.Feature.FieldBased.isEnabled(featuresValue);
        Class clazz = object.getClass();
        ObjectReaderProvider provider = JSONFactory.getDefaultObjectReaderProvider();
        ObjectReader objectReader = provider.getObjectReader(clazz, fieldBased);
        objectReader.accept(object, this, featuresValue);
    }
Convert this {@link JSONObject} to the specified Object

<pre>{@code
JSONObject obj = ...
User user = obj.to(User.class);
}</pre>

@param clazz specify the {@code Class<T>} to be converted
@param features features to be enabled in parsing
@since 2.0.4
core/src/main/java/com/alibaba/fastjson2/JSONObject.java