Remove go-json

This commit is contained in:
世界
2022-07-26 13:53:25 +08:00
parent 0abf9a06c3
commit 3a7a4bab12
10 changed files with 14 additions and 40 deletions

View File

@@ -1,20 +0,0 @@
//go:build !with_std_json
package json
import "github.com/goccy/go-json"
var (
Marshal = json.Marshal
Unmarshal = json.Unmarshal
NewEncoder = json.NewEncoder
NewDecoder = json.NewDecoder
)
type (
Encoder = json.Encoder
Decoder = json.Decoder
Token = json.Token
Delim = json.Delim
SyntaxError = json.SyntaxError
)

View File

@@ -1,5 +1,3 @@
//go:build with_std_json
package json
import "encoding/json"