@SuppressWarnings("unchecked")
    public <T> T to(Type type, long features) {
        if (type == String.class) {
            return (T) toString();
        }

        ObjectReaderProvider provider = JSONFactory.getDefaultObjectReaderProvider();
        ObjectReader<T> objectReader = provider.getObjectReader(type);
        return objectReader.createInstance(this, features);
    }
Convert this {@link JSONArray} to the specified Object

<pre>{@code
JSONArray array = ...
List<User> users = array.to(new TypeReference<ArrayList<User>>(){}.getType());
}</pre>

@param type specify the {@link Type} to be converted
@since 2.0.51
core/src/main/java/com/alibaba/fastjson2/JSONArray.java