json-encode-key

json-encode-key is a compiled Lisp function in `json.el'.

(json-encode-key OBJECT)

Return a JSON representation of OBJECT.
If the resulting JSON object isn't a valid JSON object key,
this signals `json-key-format'.