public class JsonReadContext extends Object
| Constructor and Description |
|---|
JsonReadContext()
Constructs a JsonReadContext object.
|
| Modifier and Type | Method and Description |
|---|---|
Stack<Byte> |
getBufStack()
Return bufStack.
|
int |
getLastReadBytes()
Return lastReadBytes.
|
boolean |
isStartMatch()
Return isStartMatch.
|
void |
setBufStack(Stack<Byte> bufStack)
Set bufStack, used for match the braces and double quotes.
|
void |
setLastReadBytes(int lastReadBytes)
Set lastReadBytes.
|
void |
setStartMatch(boolean isStartMatch)
Set isStartMatch.
|
public JsonReadContext()
public void setBufStack(Stack<Byte> bufStack)
bufStack - Stack of Bytepublic boolean isStartMatch()
public void setStartMatch(boolean isStartMatch)
isStartMatch - mark whether the matching has startedpublic int getLastReadBytes()
public void setLastReadBytes(int lastReadBytes)
lastReadBytes - the bytes for last decoding incomplete record