In one of my applications I get a JSON format data from php. Which is as similar as the following:
{
"abc@mail.com": {
"RequestSessions": [
{
"StartAt": "2020-03-29T05:18:37.973618Z",
"RunTime": 292,
"Captcha": 3,
"TotalBidRequests": 40,
"TotalSearchRequests": 2831,
"TotalTradeRequests": 88
}
],
"ProfitSessions": [
{
"StartAt": "2020-03-29T13:56:11.8250985Z",
"Profit": 42598,
"EProfit": 3350,
"Coins": 55674,
"Ecoins": 28000
}
]
},
"adc@mail.com": {
"RequestSessions": [
{
"StartAt": "2020-03-29T05:18:37.973618Z",
"RunTime": 292,
"Captcha": 3,
"TotalBidRequests": 40,
"TotalSearchRequests": 2831,
"TotalTradeRequests": 88
}
],
"ProfitSessions": [
{
"StartAt": "2020-03-29T13:56:11.8250985Z",
"Profit": 42598,
"EProfit": 3350,
"Coins": 55674,
"Ecoins": 28000
}
]
}
}
From this response, I just need to fetch email to process further operations in my application. But I can't identify how to decode this using PHP json_decode()
Can anyone tell me how can I decode this using PHP and fetch only email from this response?
Thanks