Java FastJson解析json字符串
作者:互联网
json转map
Map<String, 实体类> titleMap=JSON.parseObject(JSON字符串, new TypeReference<HashMap<String, 实体类>>() {});
json转对象
Student student = JSON.parseObject(JSON_OBJ_STR, new TypeReference<Student>() {});
标签:FastJson,Java,TypeReference,JSON,parseObject,json,字符串,new 来源: https://www.cnblogs.com/chenyanbin/p/13398632.html