From 6ecbeaa0d296efafc15d5353edeae06b9e4a2765 Mon Sep 17 00:00:00 2001 From: Alanscut Date: Wed, 25 Dec 2019 11:38:38 +0800 Subject: [PATCH] update JSONTokener's brief: parse simple json text --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0301dcb..591fb91 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,9 @@ to produce a vector-like object. The object provides methods for manipulating its contents, and for producing a JSON compliant array serialization. **JSONTokener.java**: The `JSONTokener` breaks a text into a sequence of individual -tokens. It can be constructed from a `String`, `Reader`, or `InputStream`. +tokens. It can be constructed from a `String`, `Reader`, or `InputStream`. It also can +parse text from a `String`, `Number`, `Boolean` or `null` like `"hello"`, `42`, `true`, +`null` to produce a simple json object. **JSONException.java**: The `JSONException` is the standard exception type thrown by this package.