mirror of
https://github.com/golang/go
synced 2024-11-26 02:47:58 -07:00
doc/go1.16: add encoding/json note for tag change
For #40700 Fixes #42898 Change-Id: I652657ff8d6cce20bf868f0b1101d723d3f704d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/274614 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
f26f227f66
commit
78e442ea79
@ -456,7 +456,11 @@ Do not send CLs removing the interior tags from such phrases.
|
||||
<dl id="encoding/json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt>
|
||||
<dd>
|
||||
<p><!-- CL 234818 -->
|
||||
TODO: <a href="https://golang.org/cl/234818">https://golang.org/cl/234818</a>: allow semicolon in field key / struct tag
|
||||
The <code>json</code> struct field tags understood by
|
||||
<a href="/pkg/encoding/json/#Marshal"><code>Marshal</code></a>,
|
||||
<a href="/pkg/encoding/json/#Unmarshal"><code>Unmarshal</code></a>,
|
||||
and related functionality now permit semicolon characters within
|
||||
a JSON object name for a Go struct field.
|
||||
</p>
|
||||
</dd>
|
||||
</dl><!-- encoding/json -->
|
||||
|
Loading…
Reference in New Issue
Block a user