String c = "{'delCollect':{'collectIds':[{'collectId':1}]},'userId':1}";
JSONObject datas = JSONObject.fromObject(c);
JSONObject jsons=datas.getJSONObject("delCollect");
JSONArray data=jsons.getJSONArray("collectIds");
int iSize = data.size();
for(int i=0 ;i < iSize; i++){
JSONObject info=data.getJSONObject(i);
Integer collectId=info.getInt("collectId");
}
Integer userId = datas.getInt("userId");
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。