(experimental) upgraded to encoding/json/v2

This commit is contained in:
Gani Georgiev committed 2026-08-18 18:16:22 +03:00
1 parent 4d4275c9aa
commit 97dd775455
125 files changed
+433 -364

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@ package router_test
import (
"bytes"
"encoding/json"
"encoding/json/v2"
"testing"
"time"
@@ -428,7 +428,7 @@ func TestUnmarshalRequestData(t *testing.T) {
return
}
raw, err := json.Marshal(s.dst)
raw, err := json.Marshal(s.dst, json.Deterministic(true))
if err != nil {
t.Fatal(err)
}