i have class like this
public class Response<T>{
T item;
List<T>;
}
so how can to deserializeding String in this pattern to one generic class withgson.fromJson(targetString,...)
?
i glad to used in retrofit library where Response
is returned parameter in desired interface