摘要: 1.List转JSONArray // 定义泛型列表,T代表任意类型的对象 List<T> list = new ArrayList<T>(); // 检查list是否为空,避免在空列表上执行转换 JSONArray array; if (list != null && !list.isEmpty( 阅读全文
posted @ 2023-11-22 14:00 Tab_to 阅读(3081) 评论(0) 推荐(0)