{
"total_count": 553,
"offset": 0,
"limit": 1,
"notifications": [
{
...
"app_id": "3beb3078-e0f1-4629-af17-fde833b9f716",
...
"chrome_web_icon": "https://img.onesignal.com/t/73b9b966-f19e-4410-8b5d-51ebdef4652e.png",
...
"contents": {
"en": "Come by and check out our new Jordan's!!! (Shoes) πππ»"
},
"converted": 0,
"data": {
"your_data_key": "your_data_value"
},
...,
"errored": 1,
"excluded_segments": [
"3 Days Inactive"
],
"failed": 0,
...
"headings": {
"en": "Thomas' Greatest Site in the World!! ππ"
},
"id": "e664a747-324c-406a-bafb-ab51db71c960",
...
"included_segments": [
"all"
],
...
"queued_at": 1557946677,
"remaining": 0,
"send_after": 1557946620,
"completed_at": 1557946677,
"successful": 386,
...
"url": "https://mysite.com",
...
"platform_delivery_stats": {
"chrome_web_push": {
"successful": 14,
"failed": 0,
"errored": 0
},
"android": {
"errored": 1,
"successful": 368,
"failed": 0
},
"safari_web_push": {
"successful": 2,
"failed": 0,
"errored": 0
},
"ios": {
"successful": 1,
"failed": 0,
"errored": 0
},
"firefox_web_push": {
"successful": 1,
"failed": 0,
"errored": 0
}
},
"ios_attachments": {
"id": "https://img.onesignal.com/n/44843933-68d4-450c-af5c-5e5c1a9d946e.jpg"
}
}
]
}
i want to get the value of contents and headings. this is what i have tried
i donβt know much about decoding json so pls guide me.