Vote count: 0
I have a 3 object value from JSON, and the second object is dynamic value, it can be array, or object, so it look like this one :
{
obj1 : {....},
dynamicObj2 : {....}, // it can be object or array
obj3 : {....}
}
So, my question is how it can be work for create the POJO class? I am using GSON for this case. And it will be implement at Android and I am using retrofit for the networking library. Any suggestion for POJO class? Or I must use manual String object and parsing one by one?
asked 24 secs ago
Create POJO Model with dynamic object value
Aucun commentaire:
Enregistrer un commentaire