JAVA 简单的getJSONObject、getJSONArray用法
{
"msg": "success",
"code": 0,
"page": { -------------getJSONObject("page")
"totalCount": 108,
"pageSize": 10,
"totalPage": 11,
"currPage": 1,
"list": [ ------------------- getJSONArray("list").getJSONObject(0)
{
"ehrLabourEmployApplyEntity": null,
"ehrOutEmployApplyEntity": { -------------getJSONObject("ehrOutEmployApplyEntity")
"id": 530,
"applyName": "",
"nameZH": null,
"applyHrId": "" -------------- getString("applyHrId")
},
"ehrWfStaffQuitEntity": null,
"processType": null,
"hrId": null,
}
]
}
}