gson怎么解析json里面对象的数组?首先要导入Gson包;例如有个penson类:Gson gson = new Gson()String json person[] pers = gson. fromJson (json , person[].class)