mirror of https://github.com/golang/go.git
doc/go1.14: mention new method encoding/json.Decoder.InputOffset
Updates #29688 Updates #36878 Change-Id: I230889ec3f1c183dc5adbc662a39a791c0488497 Reviewed-on: https://go-review.googlesource.com/c/go/+/217123 Reviewed-by: Alexander Rakoczy <alex@golang.org>
This commit is contained in:
parent
1b7fefc91f
commit
eadf8b20bc
|
|
@ -522,6 +522,14 @@ TODO
|
|||
|
||||
<dl id="encoding/json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt>
|
||||
<dd>
|
||||
<p><!-- CL 200677 -->
|
||||
The <a href="/pkg/encoding/json/#Decoder"><code>Decoder</code></a>
|
||||
type supports a new
|
||||
method <a href="/pkg/encoding/json/#Decoder.InputOffset"><code>InputOffset</code></a>
|
||||
that returns the input stream byte offset of the current
|
||||
decoder position.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 200217 -->
|
||||
<a href="/pkg/encoding/json/#Compact"><code>Compact</code></a> no longer
|
||||
escapes the <code>U+2028</code> and <code>U+2029</code> characters, which
|
||||
|
|
|
|||
Loading…
Reference in New Issue