Class NonBlockingUtf8JsonParserBase

All Implemented Interfaces:
Versioned, Closeable, AutoCloseable
Direct Known Subclasses:
NonBlockingByteBufferJsonParser, NonBlockingJsonParser

public abstract class NonBlockingUtf8JsonParserBase extends NonBlockingJsonParserBase
Non-blocking parser base implementation for JSON content.

NOTE: only supports parsing of UTF-8 encoded content (and 7-bit US-ASCII since it is strict subset of UTF-8): other encodings are not supported.

Since:
2.9
  • Field Details

    • FEAT_MASK_TRAILING_COMMA

      private static final int FEAT_MASK_TRAILING_COMMA
    • FEAT_MASK_LEADING_ZEROS

      private static final int FEAT_MASK_LEADING_ZEROS
    • FEAT_MASK_ALLOW_MISSING

      private static final int FEAT_MASK_ALLOW_MISSING
    • FEAT_MASK_ALLOW_SINGLE_QUOTES

      private static final int FEAT_MASK_ALLOW_SINGLE_QUOTES
    • FEAT_MASK_ALLOW_UNQUOTED_NAMES

      private static final int FEAT_MASK_ALLOW_UNQUOTED_NAMES
    • FEAT_MASK_ALLOW_JAVA_COMMENTS

      private static final int FEAT_MASK_ALLOW_JAVA_COMMENTS
    • FEAT_MASK_ALLOW_YAML_COMMENTS

      private static final int FEAT_MASK_ALLOW_YAML_COMMENTS
    • _icUTF8

      private static final int[] _icUTF8
    • _icLatin1

      protected static final int[] _icLatin1
    • _origBufferLen

      protected int _origBufferLen
      In addition to current buffer pointer, and end pointer, we will also need to know number of bytes originally contained. This is needed to correctly update location information when the block has been completed.
  • Constructor Details

  • Method Details