Drop json-iterator dependency (#35544)

This commit is contained in:
wxiaoguang
2025-09-28 22:30:28 +08:00
committed by GitHub
parent fbe80e6df2
commit 0f668145e9
6 changed files with 75 additions and 73 deletions

View File

@@ -7,12 +7,10 @@ package json
import (
"io"
jsoniter "github.com/json-iterator/go"
)
func getDefaultJSONHandler() Interface {
return JSONiter{jsoniter.ConfigCompatibleWithStandardLibrary}
return jsonGoccy{}
}
func MarshalKeepOptionalEmpty(v any) ([]byte, error) {