У меня есть данные Json, которые содержат несколько массивов объектов, отправляемых контроллером MVC.Мне нужно извлечь этот массив по-другому.Я хочу getEmailBasicData массив, getEmailParticipantData массив, getEmailDocumentData массив индивидуально Как я могу это сделать?Вот мой код -
"{
"$id": "1",
"getEmailBasicData": [
{
"$id": "2",
"notificationId": 23,
"subject": "final test",
"message": "<p>this is body</p>\n",
"sendStatus": -1,
"lastSendTime": null
},
{
"$id": "3",
"notificationId": 24,
"subject": "final subject",
"message": "<p>final body</p>\n",
"sendStatus": -1,
"lastSendTime": null
},
{
"$id": "12",
"notificationId": 33,
"subject": "Final Test",
"message": "<p>Final body</p>\n",
"sendStatus": -1,
"lastSendTime": null
}
],
"getEmailParticipantData": [
{
"$id": "13",
"id": 55,
"notificationId": 23,
"employeeId": -1,
"name": "here is the name",
"emailAddress": "whatever@gmail.com",
"contactNo": null
},
{
"$id": "14",
"id": 56,
"notificationId": 23,
"employeeId": -1,
"name": "another name",
"emailAddress": "someone@gmail.com",
"contactNo": null
} ],
"getEmailDocumentData": [
{
"$id": "36",
"id": 40,
"notificationId": 23,
"docId": 1,
"attachmentLocation": "1_1_50474603_2287746231437248_8529393497499762688_n.jpg"
},
{
"$id": "46",
"id": 50,
"notificationId": 33,
"docId": 1,
"attachmentLocation":
"1_1_50474603_2287746231437248_8529393497499762688_n.jpg"
}
]
}"