How to handle/parse this json on Retrofit2?
[
[
"106639",
"jonni",
"assistant director",
"1"
],
[
"106639",
"maikel",
"operator and publisher",
"1"
]
]
I ask already in stackoverflow but no answer
https://stackoverflow.com/questions/59704608/
StackOverflow is the right place for this question because it isn't specific to Retrofit. Retrofit just passes the data to Gson and then hands you back whatever Gson returns. Decoding JSON and dealing with mapping that to an object is entirely an interaction with Gson.
StackOverflow is the right place for this question because it isn't specific to Retrofit. Retrofit just passes the data to Gson and then hands you back whatever Gson returns. Decoding JSON and dealing with mapping that to an object is entirely an interaction with Gson.
but i does not return any thing any goes to onfail method thats why?
How to handle/parse this json on Retrofit2?
[ [ "106639", "jonni", "assistant director", "1" ], [ "106639", "maikel", "operator and publisher", "1" ] ]I ask already in stackoverflow but no answer
https://stackoverflow.com/questions/59704608/
retrofit only parse this request/response by Converter.Factory, like GsonConverterFactory, without focusing on the specific parsing, i think you should debug GsonResponseBodyConverter.convert() to find the root cause.