Variable: json-object-type

json-object-type is a variable defined in json.el.gz.

Value

alist

Documentation

Type to convert JSON objects to.

Must be one of alist, plist, or hash-table. Consider let-binding this around your call to json-read instead of setqing it. Ordering is maintained for alist and plist, but not for hash-table.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
;;;; Parameters

(defvar json-object-type 'alist
  "Type to convert JSON objects to.
Must be one of `alist', `plist', or `hash-table'.  Consider let-binding
this around your call to `json-read' instead of `setq'ing it.  Ordering
is maintained for `alist' and `plist', but not for `hash-table'.")