Function: json-read-from-string

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

Signature

(json-read-from-string STRING)

Documentation

Read the JSON object contained in STRING and return it.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
;; Syntactic sugar for the reader

(defun json-read-from-string (string)
  "Read the JSON object contained in STRING and return it."
  (with-temp-buffer
    (insert string)
    (goto-char (point-min))
    (json-read)))