Gson解析

- 编辑:小昭 -

Gson解析

 Gson gson = new Gson();
ff = gson.fromJson(name, aa.class);
ff = gson.fromJson(name, new TypeToken<JsonBean>() {}.getType() );

你会喜欢下面的文章? You'll like the following article.