Function: json--print-key

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

Signature

(json--print-key OBJECT)

Documentation

Insert a JSON key representation of OBJECT at point.

Signal json-key-format if it cannot be encoded as a string.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
(defun json--print-key (object)
  "Insert a JSON key representation of OBJECT at point.
Signal `json-key-format' if it cannot be encoded as a string."
  (or (json--print-stringlike object)
      (signal 'json-key-format (list object))))