code: public static JSONObject parseJsonObject(URL url) throws IOException {
          String path = url.toString();
          if (path.startsWith(ValueConsts.LOCAL_FILE_URL)) {
              return parseJsonObject(NetUtils.urlToString(url));
          } else {
              return JSONObject.parseObject(read(url));
          }
      }
docs: 解析JSON
  
  @param url {@link URL}
  
  @return {@link JSONObject}
  
  @throws IOException 异常
  @since 1.1.0