public class JSONParserWS extends JSONParser
Modifier and Type | Class and Description |
---|---|
static class |
JSONParserWS.WhitespaceHandler |
JSONParser.ParseException
Modifier and Type | Field and Description |
---|---|
private CharArr |
outWS |
private JSONParserWS.WhitespaceHandler |
wsHandler |
ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, ALLOW_COMMENTS, ALLOW_EXTRA_COMMAS, ALLOW_SINGLE_QUOTES, ALLOW_UNQUOTED_KEYS, ALLOW_UNQUOTED_STRING_VALUES, ARRAY_END, ARRAY_START, BIGNUMBER, BOOLEAN, buf, end, eof, EOF, event, flags, FLAGS_DEFAULT, FLAGS_STRICT, gpos, in, LONG, NULL, NUMBER, OBJECT_END, OBJECT_START, start, STRING, stringTerm
Constructor and Description |
---|
JSONParserWS(char[] data,
int start,
int end) |
JSONParserWS(java.io.Reader in) |
JSONParserWS(java.io.Reader in,
char[] buffer) |
JSONParserWS(java.lang.String data) |
JSONParserWS(java.lang.String data,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
protected int |
getCharNWS() |
protected void |
getNewlineComment() |
protected void |
getSlashComment() |
void |
setWhitespaceHandler(JSONParserWS.WhitespaceHandler wsHandler) |
err, fill, getBoolean, getChar, getCharNWS, getDouble, getEventString, getFlags, getLevel, getLong, getNull, getNumberChars, getNumberChars, getPosition, getString, getString, getStringChars, isWhitespace, lastEvent, nextEvent, setFlags, toString, wasKey
private CharArr outWS
private JSONParserWS.WhitespaceHandler wsHandler
public JSONParserWS(java.io.Reader in)
public JSONParserWS(java.io.Reader in, char[] buffer)
public JSONParserWS(char[] data, int start, int end)
public JSONParserWS(java.lang.String data)
public JSONParserWS(java.lang.String data, int start, int end)
public void setWhitespaceHandler(JSONParserWS.WhitespaceHandler wsHandler)
protected int getCharNWS() throws java.io.IOException
getCharNWS
in class JSONParser
java.io.IOException
protected void getNewlineComment() throws java.io.IOException
getNewlineComment
in class JSONParser
java.io.IOException
protected void getSlashComment() throws java.io.IOException
getSlashComment
in class JSONParser
java.io.IOException