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) |
void |
setMaxDepth(int maxDepth) |
void |
setMaxElements(int maxElements) |
void |
setMaxKeyLength(int maxKeyLength) |
void |
setMaxStringLength(int maxStringLength) |
protected void |
skipWhiteSpace() |
protected Object |
string(char quote) |
protected char |
unicode() |
public void setMaxElements(int maxElements)
public void setMaxDepth(int maxDepth)
public void setMaxStringLength(int maxStringLength)
public void setMaxKeyLength(int maxKeyLength)
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) throws JSONException
JSONExceptionprotected void add(char cc)
protected void add()
protected void addDigits()
protected char unicode()
Copyright © 2000–2026 Apache Software Foundation. All rights reserved.