摘要:
谷歌的Gson.jar: //list转换为json Gson gson = new Gson(); List<Person> persons = new ArrayList<Person>(); String str = gson.toJson(persons); //json转换为list Gs 阅读全文
posted @ 2022-09-20 08:28 且行且思 阅读(2893) 评论(0) 推荐(0)
|
|||
|
摘要:
谷歌的Gson.jar: //list转换为json Gson gson = new Gson(); List<Person> persons = new ArrayList<Person>(); String str = gson.toJson(persons); //json转换为list Gs 阅读全文
posted @ 2022-09-20 08:28 且行且思 阅读(2893) 评论(0) 推荐(0) |
|||