luke
08/30/2018, 7:24 PMluke
08/30/2018, 7:25 PM[{
"match_id": "303207",
"country_id": "222",
"country_name": "Brazil",
"league_id": "513",
"league_name": "Serie B",
"match_date": "2018-08-29",
"match_status": "FT",
"match_time": "01:30",
"match_hometeam_name": "Oeste FC",
"match_hometeam_score": "0",
"match_awayteam_name": "Sao Bento",
"match_awayteam_score": "1",
"match_hometeam_halftime_score": "0",
"match_awayteam_halftime_score": "0",
"match_hometeam_extra_score": "",
"match_awayteam_extra_score": "",
"match_hometeam_penalty_score": "",
"match_awayteam_penalty_score": "",
"match_hometeam_system": "",
"match_awayteam_system": "",
"match_live": "0",
"goalscorer": [{
"time": "80'",
"home_scorer": "",
"score": "0 - 1",
"away_scorer": "F. Francis Junior"
}],
"cards": [],
"lineup": {
"home": {
"starting_lineups": [],
"substitutes": [],
"coach": [],
"substitutions": []
},
"away": {
"starting_lineups": [],
"substitutes": [],
"coach": [],
"substitutions": []
}
},
"statistics": []
}]
diesieben07
08/30/2018, 7:27 PMGoalscorer
class has an event
constructor parameter, which must not be null according to your code. In your JSON this parameter is missing.luke
08/30/2018, 7:27 PMdiesieben07
08/30/2018, 7:28 PMEvent
should be passedluke
08/30/2018, 7:28 PMmatch_id
as the event_id
in Goalscorer
?diesieben07
08/30/2018, 7:28 PMdiesieben07
08/30/2018, 7:28 PMluke
08/30/2018, 7:30 PM