Stringtree JSON -
Apache
跨平台
Java
软件简介
Stringtree JSON 是一个小型可靠简洁的 Java 的 JSON 读写和验证的类库。无需依赖其他第三方库。整个 jar 包只有 13kb。
示例代码:
import org.stringtree.json.JSONReader;
class JSONReaderExample {
JSONReader reader = new JSONReader();
public void example() {
Object result = reader.read("true");
System.out.println("JSONReader result is " + result +
" of class " + result.getClass());
}
}