How to parse dynamic JSON with Retrofit?

前端 未结 2 1982
一向
一向 2020-12-21 13:33

I have dynamic JSON, here is example: http://pastebin.com/QMWRZTrD

How I can parse it with Retrofit?

I failed to generate POJO classes, since I have dynamic

2条回答
  •  庸人自扰
    2020-12-21 14:22

    you can use Map to serialize and deserialize it in case of Random keys. Observable>>

提交回复
热议问题