mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-04 15:56:28 +00:00
Drop json-iterator dependency (#35544)
This commit is contained in:
@@ -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