]> git.eshelyaron.com Git - emacs.git/commit
strict key encoding for json.el
authorEdward O'Connor <hober0@gmail.com>
Wed, 22 Aug 2012 01:29:22 +0000 (21:29 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 Aug 2012 01:29:22 +0000 (21:29 -0400)
commit94e0e5592ad531a577f4249564da8688d9d9ebea
tree25bebd2bfa1cdacd0f9b83ce33d4fb8d4559a889
parentda485f5e6b5fd38d202a0f6682f6fec28963cf1e
strict key encoding for json.el

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00642.html

* lisp/json.el (json-key-format): Add error properties.
(json-encode-key): New function.
(json-encode-hash-table, json-encode-alist, json-encode-plist):
Use json-encode-key.
lisp/ChangeLog
lisp/json.el