标签:数组 cto pre oct tostring span seo json对象 rds
1.json对象
JSON.parseObject(jsonObject.get("data").toString(), SettlementList.class);
2.json数组
List<DoctorAdviceRecords> doctorAdviceRecords = JSON.parseArray(jsonObject.get("data").toString(), DoctorAdviceRecords.class); for(DoctorAdviceRecords doctorAdviceRecord : doctorAdviceRecords){ int count = session.insert("doctorAdviceRecords.insert", doctorAdviceRecord); }
标签:数组 cto pre oct tostring span seo json对象 rds
原文地址:https://www.cnblogs.com/Obsessiveness/p/14698953.html