code: def jsonarrindex(self, name, path, scalar, start=0, stop=-1):
          
          return self.execute_command('JSON.ARRINDEX', name, str_path(path), self._encode(scalar), start, stop)
docs: Returns the index of ``scalar`` in the JSON array under ``path`` at key
          ``name``. The search can be limited using the optional inclusive
          ``start`` and exclusive ``stop`` indices.