json字符串轉(zhuǎn)對應(yīng)實體集合
List<VolunteerInfo> twoVolunteerInfo = JSON.parseArray(users, VolunteerInfo.class);
json字符串轉(zhuǎn)對應(yīng)實體
VolunteerInfo volunteerInfo = JSON.parseObject(users, VolunteerInfo.class);
json字符串轉(zhuǎn)對應(yīng)實體集合
List<VolunteerInfo> twoVolunteerInfo = JSON.parseArray(users, VolunteerInfo.class);
json字符串轉(zhuǎn)對應(yīng)實體
VolunteerInfo volunteerInfo = JSON.parseObject(users, VolunteerInfo.class);