map格式数据如下
{
"32":[
{
"id":6075,
"value":"钟离",
"game_id":32
},
{
"id":6093,
"value":"莫娜",
"game_id":32
},
{
"id":6083,
"value":"魈",
"game_id":32
}
],
"33":[
{
"id":394,
"value":"V10",
"game_id":33
},
{
"id":4592,
"value":"倪克斯神谕",
"game_id":33
},
{
"id":4593,
"value":"天鹅之梦",
"game_id":33
},
{
"id":4602,
"value":"九霄神辉",
"game_id":33
},
{
"id":4605,
"value":"幻阙歌",
"game_id":33
}
]
}
相应的实体类如下:
data class GameQuickFilterBean(
var id:Int = 0,
var value:String = "",
var game_id: Int=0,
)
那么接受时的数据格式是:
Map<String,MutableList<GameQuickFilterBean>>