Class AbstractStringAwareBufProcessor

    • Constructor Detail

      • AbstractStringAwareBufProcessor

        public AbstractStringAwareBufProcessor()
    • Method Detail

      • isEscaped

        protected boolean isEscaped​(byte nextByte)
        Detects opening and closing of JSON strings and keep track of it in order to mark characters in the string (delimiter quotes included) as escaped. Quotes escaped by a \ are correctly detected and do not mark a closing of a JSON string.
        Parameters:
        nextByte - the next byte to inspect.
        Returns:
        true if the byte should be ignored as part of a JSON string, false otherwise.