I am trying to send an HTTP request and get some data in response. Usually, I just create a class for the response, but now my response contains 5 classes into one field. Generally, the response contains only a few fields(string or integer) but now It contains classes and lists. I am using Retrofit2 in Android Studio.
{
"data": {
“example”:31;
},
" example ": {
“example”:31;
},
" example ": {
“example”:31;
},
}
},
"errors": false,
“example”:31;
} }