Joseph Tsai submitted the change![Open in Gerrit]()
Change information
Commit message:
encoding/json/v2: dual support errors.ErrUnsupported and SkipFunc
This change supports both errors.ErrUnsupported and SkipFunc.
In a future change, we will remove SkipFunc entirely in favor
of using errors.ErrUnsupported, which exists for a similar pupose.
Updates #74324
Change-Id: I5f1ada8e3914513d7d23c504f5965ca8dd95ad18
Files:
- M src/encoding/json/v2/arshal.go
- M src/encoding/json/v2/arshal_funcs.go
- M src/encoding/json/v2/arshal_methods.go
- M src/encoding/json/v2/arshal_test.go
- M src/encoding/json/v2/errors.go
- M src/encoding/json/v2/example_test.go
Change size: M
Delta: 6 files changed, 96 insertions(+), 93 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Johan Brandhorst-Satzkorn, +1 by Junyang Shao, +2 by Damien Neil
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I5f1ada8e3914513d7d23c504f5965ca8dd95ad18
Gerrit-Change-Number: 745040
Gerrit-PatchSet: 3