public class JSONNameValueReader extends JSONReader
| Modifier and Type | Field and Description |
|---|---|
protected JSONReader |
name |
protected int |
state |
protected static int |
STATE_DONE |
protected static int |
STATE_NAME |
protected static int |
STATE_VALUE |
protected JSONReader |
value |
| Constructor and Description |
|---|
JSONNameValueReader(JSONStringReader name,
JSONReader value) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
close, readprotected static final int STATE_NAME
protected static final int STATE_VALUE
protected static final int STATE_DONE
protected final JSONReader name
protected final JSONReader value
protected int state
public JSONNameValueReader(JSONStringReader name, JSONReader value)
public int read()
throws IOException
read in class JSONReaderIOException