The below method works flawlessly
public void fromJsonArray(String jsonString,Type tToken) { Gson g = new Gson(); T list = g.fromJson(jsonStrin
T list = g.fromJson(jsonString,tToken);
It's inferred from the return type of g.fromJson().
g.fromJson().