From: Joe Tsai Date: Wed, 6 Dec 2023 22:03:17 +0000 (-0800) Subject: doc: add release notes for changes to encoding/json package X-Git-Tag: go1.22rc1~73 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2b4425759cd90edfb8f4ff4e8be397062ba99d91;p=gostls13.git doc: add release notes for changes to encoding/json package The escaping of certain control characters has been changed. The change is compliant with the JSON specification. The JSON package never promised exactly how JSON formatted and has historically changed its representation over time. Change-Id: I8b23f503cfff86c460f642693b50dee24038fb0d Reviewed-on: https://go-review.googlesource.com/c/go/+/548075 Run-TryBot: Joseph Tsai Auto-Submit: Joseph Tsai LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov TryBot-Result: Gopher Robot Reviewed-by: Robert Griesemer --- diff --git a/doc/go1.22.html b/doc/go1.22.html index 07901c82ab..2f08803221 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -409,6 +409,17 @@ defer func() { +
encoding/json
+
+

+ Marshaling and encoding functionality now escapes + '\b' and '\f' characters as + \b and \f instead of + \u0008 and \u000c. +

+
+
+
go/ast