随笔分类 - json
摘要:JsonPath JsonPath:从多层嵌套Json中解析所需要的值 <!-- https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path --> <dependency> <groupId>com.jayway.jsonpat
阅读全文
摘要:常用json解析工具类 1.net.sf.json 如果对象中包含对象 不能一次把json字符串 转成对象,要一次一次转 User user = new User("bob",12); User user1 = new User(null,null); List<User> list = new A
阅读全文