Class RecordingJSONParser

java.lang.Object
org.noggit.JSONParser
org.apache.solr.util.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.noggit.JSONParser.ParseException
     
    protected void
     
     
    int
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RecordingJSONParser

      public RecordingJSONParser(Reader in)
  • Method Details

    • 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)