json类
字符串转JSONObject
JSONObject jsonObject = JSONUtil.parseObj("{}");
字符串转JSONArray
JSONArray jsonArray = JSONUtil.parseArray("[]");
字符串转对象
JSONUtil.toBean("{}",student.class);
json转字符串
JSONArray.toString() 或者 JSONObject.toString()
实体类转换
对象转换
xxxx a = BeanUtil.toBean(Student,xxx.class);
对象列表转换
List<TRollingSumVO> excelList = BeanUtil.copyToList(list1, TRollingSumVO.class);
接口请求
post
get接口
文件上传