mirror of
https://github.com/golang/go.git
synced 2024-09-21 10:28:27 +00:00
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 <joetsai@digital-static.net> Auto-Submit: Joseph Tsai <joetsai@digital-static.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
0ff2b33ea0
commit
2b4425759c
@ -409,6 +409,17 @@ defer func() {
|
||||
</dd>
|
||||
</dl><!-- encoding -->
|
||||
|
||||
<dl id="encoding/json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt>
|
||||
<dd>
|
||||
<p><!-- https://go.dev/cl/521675 -->
|
||||
Marshaling and encoding functionality now escapes
|
||||
<code>'\b'</code> and <code>'\f'</code> characters as
|
||||
<code>\b</code> and <code>\f</code> instead of
|
||||
<code>\u0008</code> and <code>\u000c</code>.
|
||||
</p>
|
||||
</dd>
|
||||
</dl><!-- encoding/json -->
|
||||
|
||||
<dl id="go/ast"><dt><a href="/pkg/go/ast/">go/ast</a></dt>
|
||||
<dd>
|
||||
<p><!-- https://go.dev/issue/52463, https://go/dev/cl/504915 -->
|
||||
|
Loading…
Reference in New Issue
Block a user