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
JSONException
protected Object read() throws JSONException
JSONException
protected Map object() throws JSONException
JSONException
protected JSONException buildInvalidInputException()
protected List array() throws JSONException
JSONException
protected Object number() throws JSONException
JSONException
protected Object string(char quote)
protected void add(char cc)
protected void add()
protected void addDigits()
protected char unicode()
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.