我想知道是否有任何方式可以接收JsonArray
作爲來自發布請求的回覆。問題是我的回答是一個JSONObject
類型。我知道如何從String類型響應中得到響應,我想知道從JSONObject
類型響應中獲得響應的方法。接收JsonArray作爲來自發布請求的回覆
這是JSONArray
我想獲得迴應。
{
"attendanceID": 237674,
"attendeeUserID": 46114,
"batchId": 1466,
"departmentId": null,
"organizationId": 4,
"leaveTypeId": null,
"attandanceType": 1,
"absentDate": "2017-06-12T00:00:00",
"comment": null,
"subjectId": null,
"isAbsent": true,
"markedBy": 2780,
"isDeleted": false,
"dateTimeStampIns": "2017-06-12T13:11:50.9457068+05:30",
"dateTimeStamp": "2017-06-12T13:11:50.9457068+05:30",
"attandeeName": null,
"businessDays": 0,
"templateId": 1,
"message": "Your ward #### is absent today WITHOUT PRIOR INFORMATION. Kindly send the Leave Letter - ####",
"message1": null,
"isHalfDay": null
}