Function: projectile-search--rg-json-get

projectile-search--rg-json-get is a byte-compiled function defined in projectile.el.

Signature

(projectile-search--rg-json-get OBJ &rest KEYS)

Documentation

Walk KEYS through nested hash-table OBJ, returning the leaf or nil.

OBJ is a json-parse-string object (a hash-table with string keys).

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-search--rg-json-get (obj &rest keys)
  "Walk KEYS through nested hash-table OBJ, returning the leaf or nil.
OBJ is a `json-parse-string' object (a hash-table with string keys)."
  (dolist (k keys obj)
    (setq obj (and (hash-table-p obj) (gethash k obj)))))