I have an android request to php server that it send an associated array in JSON , how to parse it to model or other way with retrofit or volley ? JSON response like this:
{
"d": {
"240": {
"title": "First floor",
"rooms": {
"246": {
"title": "kitchen",
"type": 1,
"hid": 246
},
"251": {
"title": "room56",
"type": 3,
"hid": 251
}
}
},
"389": {
"title": "Second floor",
"rooms": {
"390": {
"title": "First room",
"type": 2,
"hid": 390
}
}
}
}
}