Function: json-read-file

json-read-file is a byte-compiled function defined in json.el.gz.

Signature

(json-read-file FILE)

Documentation

Read the first JSON object contained in FILE and return it.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
(defun json-read-file (file)
  "Read the first JSON object contained in FILE and return it."
  (with-temp-buffer
    (insert-file-contents file)
    (json-read)))