I have an object like this:
"choice": { "000": { "id": "001", "label": "test", "status": "0" }, "001": { "id": "001", "label": "test", "status": "0" }, "002": { "id": "001", "label": "test", "status": "0" }, "003": { "id": "001", "label": "test", "status": "0" }, "004": { "id": "001", "label": "test", "status": "0" } },
How can I parse this object using Gson + Retrofit? Or create a POJO? Is there an easy way to do this?
Many thanks!
source share