Use stdlib json encoder/decoder, goccy is too buggy

This commit is contained in:
Ingo Oppermann
2024-10-09 10:50:04 +02:00
parent 1e9f7f647a
commit 4d6eb122b0
2 changed files with 2 additions and 3 deletions

View File

@@ -2,10 +2,9 @@
package json
import (
"encoding/json"
"fmt"
"io"
"github.com/goccy/go-json"
)
type UnmarshalTypeError = json.UnmarshalTypeError

2
go.mod
View File

@@ -17,7 +17,6 @@ require (
github.com/fujiwara/shapeio v1.0.0
github.com/go-playground/validator/v10 v10.22.0
github.com/gobwas/glob v0.2.3
github.com/goccy/go-json v0.10.3
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/google/gops v0.3.28
@@ -75,6 +74,7 @@ require (
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/goccy/go-json v0.10.3 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect