public abstract class JsonReaderSupport extends Object
JsonRecordParserFactory| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
eof
Flag indicating the end of the stream was reached 
 | 
protected Reader | 
in
The  
Reader to read from | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
isWhitespace(char c)
Returns whether the given character is whitespace. 
 | 
protected Object | 
parseValue(String text)
Parses a null, boolean or numeric value from the given text. 
 | 
protected List<Object> | 
readArray()
Reads a JSON array from the input stream. 
 | 
protected Map<String,Object> | 
readObject()
Reads the next JSON object from the stream. 
 | 
protected String | 
readString()
Reads a JSON string value from the input stream. 
 | 
protected char | 
readUnicode()
Reads a Unicode character in JSON format. 
 | 
protected void | 
setReader(Reader in)
Set the  
Reader to read from. | 
protected void setReader(Reader in)
Reader to read from.in - the Readerprotected Map<String,Object> readObject() throws IOException
MapIOExceptionprotected List<Object> readArray() throws IOException
IOExceptionprotected Object parseValue(String text) throws IOException
text - the text to parseIOExceptionprotected String readString() throws IOException
IOExceptionprotected char readUnicode()
                    throws IOException
IOExceptionprotected boolean isWhitespace(char c)
c - the character to test