json字符串转对应实体
2020-08-15 本文已影响0人
通通小小通
json字符串转对应实体集合
List<VolunteerInfo> twoVolunteerInfo = JSON.parseArray(users, VolunteerInfo.class);
json字符串转对应实体
VolunteerInfo volunteerInfo = JSON.parseObject(users, VolunteerInfo.class);
json字符串转对应实体集合
List<VolunteerInfo> twoVolunteerInfo = JSON.parseArray(users, VolunteerInfo.class);
json字符串转对应实体
VolunteerInfo volunteerInfo = JSON.parseObject(users, VolunteerInfo.class);