mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 15:07:20 +00:00
Upgrade xorm to v1.1.0 (#15869)
This commit is contained in:
6
vendor/xorm.io/xorm/internal/json/json.go
generated
vendored
6
vendor/xorm.io/xorm/internal/json/json.go
generated
vendored
@ -6,15 +6,15 @@ package json
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
// JSONInterface represents an interface to handle json data
|
||||
type JSONInterface interface {
|
||||
// Interface represents an interface to handle json data
|
||||
type Interface interface {
|
||||
Marshal(v interface{}) ([]byte, error)
|
||||
Unmarshal(data []byte, v interface{}) error
|
||||
}
|
||||
|
||||
var (
|
||||
// DefaultJSONHandler default json handler
|
||||
DefaultJSONHandler JSONInterface = StdJSON{}
|
||||
DefaultJSONHandler Interface = StdJSON{}
|
||||
)
|
||||
|
||||
// StdJSON implements JSONInterface via encoding/json
|
||||
|
Reference in New Issue
Block a user