public class JSONObjectReader extends JSONReader
Modifier and Type | Field and Description |
---|---|
protected java.util.List<JSONReader> |
pairs |
protected int |
readerIndex |
protected int |
state |
protected static int |
STATE_DONE |
protected static int |
STATE_PAIRBEGIN |
protected static int |
STATE_PREBRACE |
protected static int |
STATE_PREEND |
Constructor and Description |
---|
JSONObjectReader() |
Modifier and Type | Method and Description |
---|---|
JSONObjectReader |
addNameValuePair(JSONNameValueReader pair) |
int |
read() |
close, read
protected static final int STATE_PREBRACE
protected static final int STATE_PAIRBEGIN
protected static final int STATE_PREEND
protected static final int STATE_DONE
protected int state
protected final java.util.List<JSONReader> pairs
protected int readerIndex
public JSONObjectReader addNameValuePair(JSONNameValueReader pair)
public int read() throws java.io.IOException
read
in class JSONReader
java.io.IOException