Function: json--print-keyword

json--print-keyword is a byte-compiled function defined in json.el.gz.

Signature

(json--print-keyword KEYWORD)

Documentation

Insert KEYWORD as a JSON value at point.

Return nil if KEYWORD is not recognized as a JSON keyword.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
(defun json--print-keyword (keyword)
  "Insert KEYWORD as a JSON value at point.
Return nil if KEYWORD is not recognized as a JSON keyword."
  (prog1 (setq keyword (json-encode-keyword keyword))
    (and keyword (insert keyword))))