sing-box/common/json/std.go

21 lines
338 B
Go
Raw Normal View History

2022-07-24 09:58:52 +00:00
//go:build with_std_json
package json
import "encoding/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
)