]> Cypherpunks repositories - gostls13.git/commit
encoding/json: add omitzero option
authorJes Cok <xigua67damn@gmail.com>
Tue, 1 Oct 2024 03:15:08 +0000 (03:15 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 2 Oct 2024 14:22:27 +0000 (14:22 +0000)
commite86982c515ba4a494fb1f8e1367f4238a2b59c2e
treef6e5d0f5832ae30c309e5815d209f364a1ee5d38
parent41d189a3f68bbda96fcaf83b7db5d69d51c58bcf
encoding/json: add omitzero option

Fixes #45669

Change-Id: Ic13523c0b3acdfc5b3e29a717bc62fde302ed8fd
GitHub-Last-Rev: 57030f26b0062fa8eda21b3a73b7665deab88c76
GitHub-Pull-Request: golang/go#69622
Reviewed-on: https://go-review.googlesource.com/c/go/+/615676
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
doc/next/6-stdlib/99-minor/encoding/json/45669.md [new file with mode: 0644]
src/encoding/json/encode.go
src/encoding/json/encode_test.go