JSON 解析和生成器 Argo
- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://argo.sourceforge.net/
- 软件文档: http://argo.sourceforge.net/documentation.html
软件介绍
Argo 是一个 Java 开发的遵循 RFC 7159 的 JSON 解析器和生成器。提供三个解析接口(推、拉和 DOM 风格解析器)。特点是易用、线程安全、快速。
Maven
<!-- https://mvnrepository.com/artifact/net.sourceforge.argo/argo --> <dependency> <groupId>net.sourceforge.argo</groupId> <artifactId>argo</artifactId> <version>5.2</version> </dependency>
示例代码:
String secondSingle = new JdomParser().parse(jsonText)
.getStringValue("singles", 1);