From a5de3a2661105d75be4803da959779b485076ae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 11 Apr 2024 11:48:40 +0200 Subject: [PATCH] ; * etc/NEWS: Group JSON changes. (cherry picked from commit fba8f3a6f1a8a099d93e70400d477ca6fe96007b) --- etc/NEWS | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 16a493a237e..0f51e2d68ba 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1892,19 +1892,6 @@ non-interactively. This special behavior is removed in this version of Emacs, for consistency with the common Emacs behavior where minibuffer history is reserved for past minibuffer inputs. -** 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 parser sometimes signals different types of errors. -It will now signal 'json-utf8-decode-error' for inputs that are not -correctly UTF-8 encoded. - * Lisp Changes in Emacs 30.1 @@ -2549,8 +2536,21 @@ this case, would mean repeating the object in the argument list.) When replacing an object with a different one, passing both the new and old objects is still necessary. +** 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 parser sometimes signals different types of errors. +It will now signal 'json-utf8-decode-error' for inputs that are not +correctly UTF-8 encoded. + --- -** The JSON encoder and decoder now accept arbitarily large integers. +*** The parser and encoder now accept arbitarily large integers. Previously, they were limited to the range of signed 64-bit integers. ** New tree-sitter functions and variables for defining and using "things" -- 2.39.5