public class RecordingJSONParser extends JSONParser
JSONParser.ParseExceptionALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, ALLOW_COMMENTS, ALLOW_EXTRA_COMMAS, ALLOW_MISSING_COLON_COMMA_BEFORE_OBJECT, ALLOW_SINGLE_QUOTES, ALLOW_UNQUOTED_KEYS, ALLOW_UNQUOTED_STRING_VALUES, ARRAY_END, ARRAY_START, BIGNUMBER, BOOLEAN, end, eof, EOF, event, flags, FLAGS_DEFAULT, FLAGS_STRICT, gpos, in, LONG, missingOpeningBrace, NULL, NUMBER, OBJECT_END, OBJECT_START, OPTIONAL_OUTER_BRACES, start, STRING, stringTerm| Constructor and Description |
|---|
RecordingJSONParser(Reader in) |
| Modifier and Type | Method and Description |
|---|---|
JSONParser.ParseException |
error(String msg) |
protected void |
fill() |
String |
getBuf() |
int |
nextEvent() |
void |
resetBuf() |
err, getBoolean, getChar, getCharExpected, getCharNWS, getCharNWS, getDouble, getEventString, getFlags, getLevel, getLong, getNewlineComment, getNull, getNumberChars, getNumberChars, getPosition, getSlashComment, getString, getString, getStringChars, handleNonDoubleQuoteString, isWhitespace, lastEvent, matchBareWord, setFlags, toString, wasKeypublic RecordingJSONParser(Reader in)
public void resetBuf()
public int nextEvent()
throws IOException
nextEvent in class JSONParserIOExceptionprotected void fill()
throws IOException
fill in class JSONParserIOExceptionpublic String getBuf()
public JSONParser.ParseException error(String msg)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.