I have a problem with my retofit response. I get response like this :
{
"data": [
[
"Admin",
"Adress Street 26"
],
[
"Users",
"Adress Street 27"
]
]
}
My Pojo is like this :
package com.example;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Example {
@SerializedName("data")
@Expose
private List<List<String>> data = null;
public List<List<String>> getData() {
return data;
}
public void setData(List<List<String>> data) {
this.data = data;
}
}
How i can get two this value? In this case, I use retrofit for my android app. I have search for two days. Can anyone help me? Thx
Example, thats it !!