From 9c7ea4c85f2224a2985ee1998f87a79b61059e0d Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Tue, 23 Jun 2026 16:16:20 -0700 Subject: [PATCH] go.mod: update github.com/go-json-experiment/json This pulls in two potentially breaking changes: * (https://go.dev/cl/781600): jsontext-specific options may be specified for MarshalEncode and UnmarshalDecode, where they apply to the provided Encoder or Decoder for the scope of the call. Previously, such options were ignored. * (https://go.dev/cl/779300): the string tag option no longer takes effect on composite types like []int or map[string]int. It only applies to the top-level field type. A static analysis of our codebase shows that neither change affects us. In particular, we do not use the `string` tag option. There is only one place where we pass options to MarshalEncode, and there we do not specify a jsontext option. Updates tailscale/tailscale#20220 Signed-off-by: Joe Tsai --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index badb5faf3..5549637bd 100644 --- a/go.mod +++ b/go.mod @@ -40,7 +40,7 @@ require ( github.com/frankban/quicktest v1.14.6 github.com/fxamacker/cbor/v2 v2.9.0 github.com/gaissmai/bart v0.26.1 - github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433 + github.com/go-json-experiment/json v0.0.0-20260623163557-b57f0398a951 github.com/go-logr/zapr v1.3.0 github.com/go-ole/go-ole v1.3.0 github.com/go4org/hashtriemap v0.0.0-20251130024219-545ba229f689 diff --git a/go.sum b/go.sum index e8d3bf97d..082084912 100644 --- a/go.sum +++ b/go.sum @@ -411,8 +411,8 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gorp/gorp/v3 v3.1.0 h1:ItKF/Vbuj31dmV4jxA1qblpSwkl9g1typ24xoe70IGs= github.com/go-gorp/gorp/v3 v3.1.0/go.mod h1:dLEjIyyRNiXvNZ8PSmzpt1GsWAUK8kjVhEpjH8TixEw= -github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433 h1:vymEbVwYFP/L05h5TKQxvkXoKxNvTpjxYKdF1Nlwuao= -github.com/go-json-experiment/json v0.0.0-20260214004413-d219187c3433/go.mod h1:tphK2c80bpPhMOI4v6bIc2xWywPfbqi1Z06+RcrMkDg= +github.com/go-json-experiment/json v0.0.0-20260623163557-b57f0398a951 h1:K4VUlRZKubymU3/CarxW5Mt2y9uVZQzaO+K2Npn3TY8= +github.com/go-json-experiment/json v0.0.0-20260623163557-b57f0398a951/go.mod h1:tphK2c80bpPhMOI4v6bIc2xWywPfbqi1Z06+RcrMkDg= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=