diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2025-07-14 14:41:16 -0700 |
|---|---|---|
| committer | Joe Tsai <joetsai@digital-static.net> | 2025-07-14 14:45:45 -0700 |
| commit | 6248c1ceca7aa6ed669dac1c6e320a3c21610389 (patch) | |
| tree | 45b53344b6c88d618310afee4cc85d73f5dde01d /types/key | |
| parent | fc5050048ee9c71dcdeb232d3a38f068072f489f (diff) | |
| download | tailscale-dsnet/jsonv1in2.tar.xz tailscale-dsnet/jsonv1in2.zip | |
all: use "github.com/go-json-experiment/json/v1" over "encoding/json"dsnet/jsonv1in2
DO NOT SUBMIT: experiment to check how much breaks.
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'types/key')
| -rw-r--r-- | types/key/control.go | 2 | ||||
| -rw-r--r-- | types/key/control_test.go | 2 | ||||
| -rw-r--r-- | types/key/derp.go | 2 | ||||
| -rw-r--r-- | types/key/disco_test.go | 2 | ||||
| -rw-r--r-- | types/key/machine_test.go | 2 | ||||
| -rw-r--r-- | types/key/node_test.go | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/types/key/control.go b/types/key/control.go index 96021249b..970d91abb 100644 --- a/types/key/control.go +++ b/types/key/control.go @@ -3,7 +3,7 @@ package key -import "encoding/json" +import "github.com/go-json-experiment/json/v1" // ControlPrivate is a Tailscale control plane private key. // diff --git a/types/key/control_test.go b/types/key/control_test.go index a98a586f3..a40dfc37a 100644 --- a/types/key/control_test.go +++ b/types/key/control_test.go @@ -4,7 +4,7 @@ package key import ( - "encoding/json" + "github.com/go-json-experiment/json/v1" "testing" ) diff --git a/types/key/derp.go b/types/key/derp.go index 1466b85bc..2c5d10100 100644 --- a/types/key/derp.go +++ b/types/key/derp.go @@ -6,7 +6,7 @@ package key import ( "crypto/subtle" "encoding/hex" - "encoding/json" + "github.com/go-json-experiment/json/v1" "errors" "fmt" "strings" diff --git a/types/key/disco_test.go b/types/key/disco_test.go index c62c13cbf..be7b64d0e 100644 --- a/types/key/disco_test.go +++ b/types/key/disco_test.go @@ -5,7 +5,7 @@ package key import ( "bytes" - "encoding/json" + "github.com/go-json-experiment/json/v1" "testing" ) diff --git a/types/key/machine_test.go b/types/key/machine_test.go index 157df9e43..90dafef75 100644 --- a/types/key/machine_test.go +++ b/types/key/machine_test.go @@ -5,7 +5,7 @@ package key import ( "bytes" - "encoding/json" + "github.com/go-json-experiment/json/v1" "strings" "testing" ) diff --git a/types/key/node_test.go b/types/key/node_test.go index 80a2dadf9..8ecd3afb5 100644 --- a/types/key/node_test.go +++ b/types/key/node_test.go @@ -6,7 +6,7 @@ package key import ( "bufio" "bytes" - "encoding/json" + "github.com/go-json-experiment/json/v1" "strings" "testing" ) |
