docs: public void endParsing() throws SnowflakeSQLException
    {
      if (partialEscapedUnicode.position() > 0)
      {
        partialEscapedUnicode.flip();
        continueParsingInternal(partialEscapedUnicode, true);
        partialEscapedUnicode.clear();
      }
  
      if (state != State.ROW_FINISHED)
      {
        throw new SnowflakeSQLException(SqlState.INTERNAL_ERROR,
                                        ErrorCode.INTERNAL_ERROR.getMessageCode(),
                                        "SFResultJsonParser2Failed: Chunk is truncated!");
      }
      currentColumn = 0;
      state = State.UNINITIALIZED;
    }