mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
update JSONTokener's brief: parse simple json text
This commit is contained in:
parent
3ac647a16f
commit
6ecbeaa0d2
@ -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.
|
its contents, and for producing a JSON compliant array serialization.
|
||||||
|
|
||||||
**JSONTokener.java**: The `JSONTokener` breaks a text into a sequence of individual
|
**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
|
**JSONException.java**: The `JSONException` is the standard exception type thrown
|
||||||
by this package.
|
by this package.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user