1. gson-2.2.4.jarjson
2. //将jsonStr转化成本身想要的对象, 前提是json串中含有的全部对象都须要进行定义对象
Gson gson = new Gson();class
APIInfo bean = gson.fromJson(jsonStr, APIInfo.class); gson