Class RecordingJSONParser


  • public class RecordingJSONParser
    extends org.noggit.JSONParser
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.noggit.JSONParser

        org.noggit.JSONParser.ParseException
    • Field Summary

      • Fields inherited from class org.noggit.JSONParser

        ALLOW_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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.noggit.JSONParser.ParseException error​(String msg)  
      protected void fill()  
      String getBuf()  
      int nextEvent()  
      void resetBuf()  
      • Methods inherited from class org.noggit.JSONParser

        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, wasKey
    • Constructor Detail

      • RecordingJSONParser

        public RecordingJSONParser​(Reader in)
    • Method Detail

      • resetBuf

        public void resetBuf()
      • nextEvent

        public int nextEvent()
                      throws IOException
        Overrides:
        nextEvent in class org.noggit.JSONParser
        Throws:
        IOException
      • fill

        protected void fill()
                     throws IOException
        Overrides:
        fill in class org.noggit.JSONParser
        Throws:
        IOException
      • getBuf

        public String getBuf()
      • error

        public org.noggit.JSONParser.ParseException error​(String msg)