记录学习
String s = "{'key':'value'}";
Gson gson = new Gson();
Map<String, Long> map = new HashMap<String, Long>();
map = gson.fromJson(s, map.getClass());
记录学习
String s = "{'key':'value'}";
Gson gson = new Gson();
Map<String, Long> map = new HashMap<String, Long>();
map = gson.fromJson(s, map.getClass());