diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-04-01 16:58:03 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-04-01 17:07:04 +0200 |
commit | dbfe3cae2d9497fb14c83f26425f9421d1ef57cb (patch) | |
tree | 405f252cd6b0853f0134475b605d423bd93eb16b /etc | |
parent | f53152faad170a93b7977c81f736cc787c2f9b71 (diff) | |
download | emacs-dbfe3cae2d9497fb14c83f26425f9421d1ef57cb.tar.gz |
Update JSON parser test and docs
* test/src/json-tests.el (json-parse-string/object):
Duplicated object keys are now retained in alist and plist output.
* etc/NEWS: Mention it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1721,8 +1721,16 @@ Use a float value for the first argument instead. Instead, use 'eshell-process-wait-time', which supports floating-point values. +** JSON + +--- +*** The parser keeps duplicated object keys in alist and plist output. +A JSON object such as '{"a":1,"a":2}' will now be translated into the +Lisp values '((a . 1) (a . 2))' or '(:a 1 :a 2)' if alist or plist +object types are requested. + --- -** The JSON parser sometimes signals different types of errors. +*** The parser sometimes signals different types of errors. It will now signal 'json-utf8-decode-error' for inputs that are not correctly UTF-8 encoded. |