标签:aml object ring repo nbsp json https result epo
<!-- porm.xml 文件 引用JAR包 -->
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.31</version>
</dependency>
//获取JSON字符串
String strResult = examXiaoiStudentRep.getExamQuestionList();
//声明LIST实体
List<ExamListInVO> list = new ArrayList<ExamListInVO>();
//转换为LIST 实体类
list = JSONObject.parseArray(strResult, ExamListInVO.class);
标签:aml object ring repo nbsp json https result epo
原文地址:https://www.cnblogs.com/jtcr/p/8798391.html