String 转List<Entity>
项目场景:
String 再转回List<Entity>:
问题描述:
记录一个最近项目上踩的坑,获取第三方接口返回的数据:
将String转化成List<Entity>
数据样式为:
value = “[{“indicator”: “1324”, “lastGrade”: 1, “lastValue”: 12.21, “gradeChange”: 0, “currentGrade”: 1, “currentValue”: 12.05, “indicatorView”: “456
原创
2021-12-04 13:13:51 ·
1010 阅读 ·
2 评论