使用 Moshi 解析未知的 JSON 密钥

mam*_*ejr 5 android json kotlin moshi

我正在尝试解析一个我几乎一无所知的 JSON。

JSON 响应示例

{
    "response": {
       "content":{
            "xxxxxx": "xxxxx",
            "xxxxx": "xxxxxx",
            ...... indeterminate times
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

我尝试创建一个适配器,但没有任何效果:

{
    "response": {
       "content":{
            "xxxxxx": "xxxxx",
            "xxxxx": "xxxxxx",
            ...... indeterminate times
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

通过 Moshi 可以实现这一目标吗?如果是这样,我该怎么办?