public class ReadBasicJsonContext extends Object implements ReadJsonInterface
| Constructor and Description |
|---|
ReadBasicJsonContext(ReadJsonSource src) |
| Modifier and Type | Method and Description |
|---|---|
char |
getToken() |
String |
getTokenKey() |
void |
ignoreWhiteSpace() |
boolean |
isTokenKey() |
boolean |
isTokenObjectEnd() |
char |
nextChar() |
void |
pushTokenKey()
Push the current token key back onto the 'stack'.
|
boolean |
readArrayBegin() |
boolean |
readArrayNext() |
boolean |
readKeyNext() |
void |
readNextToken() |
boolean |
readObjectBegin() |
String |
readQuotedValue() |
String |
readUnquotedValue(char c) |
boolean |
readValueNext() |
public ReadBasicJsonContext(ReadJsonSource src)
public void pushTokenKey()
public char getToken()
public String getTokenKey()
getTokenKey in interface ReadJsonInterfacepublic boolean isTokenKey()
public boolean isTokenObjectEnd()
public boolean readObjectBegin()
public boolean readKeyNext()
readKeyNext in interface ReadJsonInterfacepublic boolean readValueNext()
readValueNext in interface ReadJsonInterfacepublic boolean readArrayBegin()
public boolean readArrayNext()
readArrayNext in interface ReadJsonInterfacepublic void readNextToken()
public String readQuotedValue()
readQuotedValue in interface ReadJsonInterfacepublic String readUnquotedValue(char c)
readUnquotedValue in interface ReadJsonInterfacepublic void ignoreWhiteSpace()
ignoreWhiteSpace in interface ReadJsonInterfacepublic char nextChar()
nextChar in interface ReadJsonInterfaceCopyright © 2014. All Rights Reserved.