Skip to content

Commit 6ecbeaa

Browse files
committed
update JSONTokener's brief: parse simple json text
1 parent 3ac647a commit 6ecbeaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ to produce a vector-like object. The object provides methods for manipulating
3232
its contents, and for producing a JSON compliant array serialization.
3333

3434
**JSONTokener.java**: The `JSONTokener` breaks a text into a sequence of individual
35-
tokens. It can be constructed from a `String`, `Reader`, or `InputStream`.
35+
tokens. It can be constructed from a `String`, `Reader`, or `InputStream`. It also can
36+
parse text from a `String`, `Number`, `Boolean` or `null` like `"hello"`, `42`, `true`,
37+
`null` to produce a simple json object.
3638

3739
**JSONException.java**: The `JSONException` is the standard exception type thrown
3840
by this package.

0 commit comments

Comments
 (0)