在java中,我們是這樣使用的: Type type = new TypeToken () { }.getType(); 然後使用Gson去解析對象: gson.fromJson(json, ty.
確定! 回上一頁