Function: json-encode-keyword
json-encode-keyword is a byte-compiled function defined in json.el.gz.
Signature
(json-encode-keyword KEYWORD)
Documentation
Encode KEYWORD as a JSON value.
Source Code
;; Defined in /usr/src/emacs/lisp/json.el.gz
;; Keyword encoding
(defun json-encode-keyword (keyword)
"Encode KEYWORD as a JSON value."
(declare (side-effect-free t))
(cond ((eq keyword t) "true")
((eq keyword json-false) "false")
((eq keyword json-null) "null")))