![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
serrvin
这个作者很懒,什么都没留下…
展开
-
JSON快速入门之org.json
1.首先创建一个简单Maven项目。 2.本次使用jar包: <!-- https://mvnrepository.com/artifact/org.json/json --> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>2016原创 2017-07-11 16:16:49 · 563 阅读 · 0 评论 -
JSON快速入门之GSON
首先来谈谈GSON相比于org.json的优点: 1.功能性更强,可以将JSON对象解析成JAVA对象,可以解析日期和集合类型数据。 2.更加人性化,可以在JSON解析的过程中改变一些东西。 3.可以使用注解。GSON的使用: 1.先创建一个maven工程 2.用到的jar包: commons-io commons-i原创 2017-07-11 16:19:57 · 295 阅读 · 0 评论