Function: json-encode-plist

json-encode-plist is a byte-compiled function defined in json.el.gz.

Signature

(json-encode-plist PLIST)

Documentation

Return a JSON representation of PLIST.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
(defun json-encode-plist (plist)
  "Return a JSON representation of PLIST."
  (json--with-output-to-string (json--print-unordered-map plist)))