Result<Lecture> resDY = JSON.parseObject(msgStr,new TypeReference<Result<Lecture>>() {});我想把这句代码用工具类写出来,求怎么写?Result类如下:public class Result<T> { private String rspCode; private String rspMsg; private T result; private List<T> list;}
添加回答
举报
0/150
提交
取消