1.net.sf.json.JSONObject转对象:
ExamPaperAnswerCardTitleV2 title = (ExamPaperAnswerCardTitleV2) JSONObject.toBean(titleObj, ExamPaperAnswerCardTitleV2.class);
2.net.sf.json.JSONArray转对象集合:
List<ExamPaperAnswerCardDetailV2> newDetailList = JSONArray.toList(tempDetailAry, new ExamPaperAnswerCardDetailV2(), new JsonConfig());
08-17
757
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-21
1887
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)