public T to(JSONArray array) {
        return array.to(type);
    }
See {@link JSONArray#to(Type)} for details

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

@param array specify the {@link JSONArray} to convert
@since 2.0.4
core/src/main/java/com/alibaba/fastjson2/TypeReference.java