使用过Gson的同学都知道在反序列化时需要定义一个TypeToken类型,像这样 private Type type = new TypeToken<List<Map<String, Foo>>>(){}.
確定! 回上一頁