Answer the question
In order to leave comments, you need to log in
Why is there a deserialization error in Gson if there is a nested class?
There is such a class:
public class CategoriesResponse extends BaseResponse {
private Data data = new Data();
public class Data extends ArrayList<Category> implements Serializable {
}
public class Category implements Serializable {
private int id;
private String name;
private String icon;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question