美文网首页
json字符串转对应实体

json字符串转对应实体

作者: 通通小小通 | 来源:发表于2020-08-15 14:48 被阅读0次

json字符串转对应实体集合
List<VolunteerInfo> twoVolunteerInfo = JSON.parseArray(users, VolunteerInfo.class);

json字符串转对应实体
VolunteerInfo volunteerInfo = JSON.parseObject(users, VolunteerInfo.class);

相关文章

网友评论

      本文标题:json字符串转对应实体

      本文链接:https://www.haomeiwen.com/subject/qydadktx.html