mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 15:10:43 +02:00
Drop json-iterator dependency (#35544)
This commit is contained in:
1 parent
fbe80e6df2
commit
0f668145e9
6 files changed
+75
-73
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user