]> Cypherpunks repositories - gostls13.git/commit
encoding/json/jsontext: remove Encoder.UnusedBuffer
authorJoe Tsai <joetsai@digital-static.net>
Wed, 25 Jun 2025 03:35:36 +0000 (20:35 -0700)
committerJoseph Tsai <joetsai@digital-static.net>
Wed, 25 Jun 2025 20:56:42 +0000 (13:56 -0700)
commitb5d555991ab73e06e09741952a66dd7eeaf2a185
tree395cdc6fad314b5e0ff3e0e4eeb82f1ec79efac8
parent0b4d2eab2f7a20917639f0025de39ce9f0198d9f
encoding/json/jsontext: remove Encoder.UnusedBuffer

WARNING: This commit contains a breaking change.
This is permissible since jsontext is experimental and
not subject to the Go 1 compatibility agreement.

Existing callers of UnusedBuffer should use AvailableBuffer instead.

Updates #71497

Change-Id: Ib080caf306d545a8fb038e57f0817b18dd0f91cf
Reviewed-on: https://go-review.googlesource.com/c/go/+/683897
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
src/encoding/json/jsontext/encode.go