]> git.eshelyaron.com Git - emacs.git/commit
JSON serialization: reject duplicate keys in hashtables
authorPhilipp Stephani <phst@google.com>
Mon, 18 Dec 2017 23:04:29 +0000 (00:04 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 24 Dec 2017 12:52:30 +0000 (13:52 +0100)
commit3455192777459a08a38b0adb311a76202e29f48d
treeaa20b6d6b54940814ee6dd2775b2b440333385ce
parentc7a50740273a338285abe7c9bb24a1f45928e02a
JSON serialization: reject duplicate keys in hashtables

* src/json.c (lisp_to_json_toplevel_1): Reject duplicate keys in
hashtables.

* test/src/json-tests.el (json-serialize/object-with-duplicate-keys):
Add unit tests.
src/json.c
test/src/json-tests.el