From 4777c2014f0d770a5c1947f86bf7f8244856a598 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 16 Apr 2021 00:17:58 +0200 Subject: switch to github.com/segmentio/encoding/json --- skate/cluster.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'skate/cluster.go') diff --git a/skate/cluster.go b/skate/cluster.go index bec8154..7fc4e1b 100644 --- a/skate/cluster.go +++ b/skate/cluster.go @@ -4,7 +4,7 @@ import ( "regexp" "strings" - jsoniter "github.com/json-iterator/go" + json "github.com/segmentio/encoding/json" "golang.org/x/text/unicode/norm" ) @@ -12,7 +12,6 @@ import ( type IdentifierKeyFunc func([]byte) (string, string, error) var ( - json = jsoniter.ConfigCompatibleWithStandardLibrary wsReplacer = strings.NewReplacer("\t", " ", "\n", " ") repeatedWs = regexp.MustCompile(`[ ]{2,}`) nonWord = regexp.MustCompile(`[\W]+`) -- cgit v1.2.3