0
RiotのLegend of Leagueのjsonを解析しようとしていますが、私は初心者だから難しいと感じました。誰かが私を助けてくれることを願って、多くのありがとう。ここでは、JSONの一部である:Gsonと複雑なjsonを解析するのに問題がある
{
"type": "champion",
"version": "6.9.1",
"data": {
"Thresh": {
"id": 412,
"key": "Thresh",
"name": "Thresh",
"title": "the Chain Warden"
},
"Aatrox": {
"id": 266,
"key": "Aatrox",
"name": "Aatrox",
"title": "the Darkin Blade"
},
"Tryndamere": {
"id": 23,
"key": "Tryndamere",
"name": "Tryndamere",
"title": "the Barbarian King"
},
"Gragas": {
"id": 79,
"key": "Gragas",
"name": "Gragas",
"title": "the Rabble Rouser"
},
"Cassiopeia": {
"id": 69,
"key": "Cassiopeia",
"name": "Cassiopeia",
"title": "the Serpent's Embrace"
},
"AurelionSol": {
"id": 136,
"key": "AurelionSol",
"name": "Aurelion Sol",
"title": "The Star Forger"
},
"Ryze": {
"id": 13,
"key": "Ryze",
"name": "Ryze",
"title": "the Rogue Mage"
},
"Poppy": {
"id": 78,
"key": "Poppy",
"name": "Poppy",
"title": "Keeper of the Hammer"
},
"Sion": {
"id": 14,
"key": "Sion",
"name": "Sion",
"title": "The Undead Juggernaut"
}
...
}
}
は、私は(私は100以上のクラスを宣言しなければならないことを意味する)各チャンピオンのクラスを宣言する必要があり、またはこれを成し遂げるための簡単な方法はありますか?