【发布时间】:2021-09-30 08:27:50
【问题描述】:
我有像这样返回 json 响应的 Web 服务
"map": [
[
0,
"A mother of our mother"
],
[
2,
"A brother of our father"
],
[
1,
"A daughter of our sister"
]
],
我如何定义数据类来处理这个响应?
data class Map(
@SerializedName("map")
val map : <What type/class definition here>
)
【问题讨论】: