{
"serial": {
"title_ru": "Во все тяжкие",
"title_en": "Breaking Bad",
"token": "ac68ccf3ec244f3f6980816b9a27cc36",
"type": "serial",
"kinopoisk_id": 404900,
"translator": "LostFilm",
"translator_id": 2,
"last_episode_time": "2014-03-26 22:29:34",
"iframe_url": "http://moonwalk.cc/serial/ac68ccf3ec244f3f6980816b9a27cc36/iframe"
},
"season_episodes_count": [
{
"season_number": 1,
"episodes_count": 7
},
{
"season_number": 2,
"episodes_count": 13
},
{
"season_number": 3,
"episodes_count": 13
},
{
"season_number": 4,
"episodes_count": 13
},
{
"season_number": 5,
"episodes_count": 16
}
]
}
Как спарсить season_episodes_count в цикле? Кол-во значений может быть разное.