My question is how should I deserialize and how should look the realm object "specialties" that has inside arrays which contains a string and a integer each. I am using realm with gson. I receive a JSON that looks like this: `
{
"status":200,
"message":"",
"data":{
"specialties":[
[
"allergist",
1
],
[
"anesthesiologist",
1
],
[
"cardiologist",
1
],
[
"dermatologist",
0
],
[
"gastroenterologist",
1
],
[
"hematologist",
1
],
[
"nephrologist",
0
],
...
]
}
}
`