Hello Users,
I need some help to Parse Json response from api. I wants to get match_id, series_id, series_name and status response value.
I get all value expect status response, please help me to get status response from matches=>header=>status
Json response given below ;
{
“url” : {
“match” : “URL HERE”
},
“matches” :[
{
“match_id” : “28929”,
“series_id” : “3041”,
“series_name” : “Bangladesh tour of Pakistan 2020”,
“data_path” : “2020/2020_PAK_BAN/PAK_BAN_APR05_APR09/”,
“header” : {
“start_time” : “1586062800”,
“end_time” : “1587038100”,
“state” : “abandon”,
“match_desc” : “2nd Test”,
“type” : “TEST”,
“state_title” : “Abandon”,
“toss” : “”,
“status” : “Match postponed due to COVID 19 pandemic”
}
,
“alerts” : “1”,
“venue” : {
“name” : “National Stadium”,
“location” : “Karachi, Pakistan”
,
“timezone”: “+05:00”,
“lat”: “24.892373”,
“long”: “67.086411”
}
Block I have tried to solve this :
I have also tried to solve this with the help of below post :
But unable to get get response from status.
Please help me
Thank You