Json Simple 简明教程
JSON.simple - Overview
JSON.simple 是一个基于 Java 的简单工具包,适用于 JSON。你可以使用 JSON.simple 对 JSON 数据进行编码或解码。
JSON.simple is a simple Java based toolkit for JSON. You can use JSON.simple to encode or decode JSON data.
Features
-
Specification Compliant − JSON.simple is fully compliant with JSON Specification - RFC4627.
-
Lightweight − It have very few classes and provides the necessary functionalities like encode/decode and escaping json.
-
Reuses Collections − Most of the operations are done using Map/List interfaces increasing the reusablity.
-
Streaming supported − Supports streaming of JSON output text.
-
SAX like Content Handler − Provides a SAX-like interface to stream large amount of JSON data.
-
High performance − Heap based parser is used and provide high performance.
-
No dependency − No external library dependency. Can be independently included.
-
JDK1.2 compatible − Source code and the binary are JDK1.2 compatible