对象:
Mybean mybean1 = new Gson().fromJson(DeString, Mybean.class);
对象数组:
List<Mybean> list = new Gson().fromJson(DeString, new TypeToken<List<Mybean>>(){}.getType());
key-value:
Map map = new Gson().fromJson(DeString, Map.class);
对象:
Mybean mybean1 = new Gson().fromJson(DeString, Mybean.class);
对象数组:
List<Mybean> list = new Gson().fromJson(DeString, new TypeToken<List<Mybean>>(){}.getType());
key-value:
Map map = new Gson().fromJson(DeString, Map.class);