public <T> T to(Type type) {
        return to(type, 0L);
    }
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.4
core/src/main/java/com/alibaba/fastjson2/JSONArray.java