public class JSONReader extends Object
Deserializes and object from a JSON string
| Constructor and Description |
|---|
JSONReader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add() |
protected void |
add(char cc) |
protected void |
addDigits() |
protected List |
array() |
protected JSONException |
buildInvalidInputException() |
protected char |
next() |
protected Object |
number() |
protected Map |
object() |
protected Object |
read() |
Object |
read(String string) |
protected void |
skipWhiteSpace() |
protected Object |
string(char quote) |
protected char |
unicode() |
protected char next()
protected void skipWhiteSpace()
public Object read(String string) throws JSONException
JSONExceptionprotected Object read() throws JSONException
JSONExceptionprotected Map object() throws JSONException
JSONExceptionprotected JSONException buildInvalidInputException()
protected List array() throws JSONException
JSONExceptionprotected Object number() throws JSONException
JSONExceptionprotected Object string(char quote)
protected void add(char cc)
protected void add()
protected void addDigits()
protected char unicode()
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.