static JSONArray parseArray(URL url, JSONReader.Feature... features) {
        if (url == null) {
            return null;
        }

        try (InputStream is = url.openStream()) {
            return parseArray(is, features);
        } catch (IOException e) {
            throw new JSONException("JSON#parseArray cannot parse '" + url + "' to '" + JSONArray.class + "'", e);
        }
    }
Parses the json stream of the url as a {@link JSONArray}.
Returns {@code null} if received {@link URL} is {@code null}.

@param url the specified url to be parsed
@param features the specified features is applied to parsing
@return {@link JSONArray} or {@code null}
@throws JSONException If an I/O error or parsing error occurs
@see URL#openStream()
@see JSON#parseArray(InputStream, JSONReader.Feature...)
core/src/main/java/com/alibaba/fastjson2/JSON.java