summaryrefslogtreecommitdiffhomepage
path: root/ssh
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2025-07-14 14:41:16 -0700
committerJoe Tsai <joetsai@digital-static.net>2025-07-14 14:45:45 -0700
commit6248c1ceca7aa6ed669dac1c6e320a3c21610389 (patch)
tree45b53344b6c88d618310afee4cc85d73f5dde01d /ssh
parentfc5050048ee9c71dcdeb232d3a38f068072f489f (diff)
downloadtailscale-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 'ssh')
-rw-r--r--ssh/tailssh/incubator.go2
-rw-r--r--ssh/tailssh/incubator_plan9.go2
-rw-r--r--ssh/tailssh/privs_test.go2
-rw-r--r--ssh/tailssh/tailssh.go2
-rw-r--r--ssh/tailssh/tailssh_test.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/ssh/tailssh/incubator.go b/ssh/tailssh/incubator.go
index 9e1a9ea94..85b416f4f 100644
--- a/ssh/tailssh/incubator.go
+++ b/ssh/tailssh/incubator.go
@@ -13,7 +13,7 @@ package tailssh
import (
"context"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"flag"
"fmt"
diff --git a/ssh/tailssh/incubator_plan9.go b/ssh/tailssh/incubator_plan9.go
index 61b6a54eb..60a3903f9 100644
--- a/ssh/tailssh/incubator_plan9.go
+++ b/ssh/tailssh/incubator_plan9.go
@@ -10,7 +10,7 @@
package tailssh
import (
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"flag"
"fmt"
diff --git a/ssh/tailssh/privs_test.go b/ssh/tailssh/privs_test.go
index 32b219a77..bdf70eb1c 100644
--- a/ssh/tailssh/privs_test.go
+++ b/ssh/tailssh/privs_test.go
@@ -6,7 +6,7 @@
package tailssh
import (
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"os"
"os/exec"
diff --git a/ssh/tailssh/tailssh.go b/ssh/tailssh/tailssh.go
index b249a1063..39f934012 100644
--- a/ssh/tailssh/tailssh.go
+++ b/ssh/tailssh/tailssh.go
@@ -10,7 +10,7 @@ import (
"bytes"
"context"
"crypto/rand"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"fmt"
"io"
diff --git a/ssh/tailssh/tailssh_test.go b/ssh/tailssh/tailssh_test.go
index 96fb87f49..b0367757f 100644
--- a/ssh/tailssh/tailssh_test.go
+++ b/ssh/tailssh/tailssh_test.go
@@ -12,7 +12,7 @@ import (
"crypto/ed25519"
"crypto/elliptic"
"crypto/rand"
- "encoding/json"
+ "github.com/go-json-experiment/json/v1"
"errors"
"fmt"
"io"