mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00:00
21 lines
350 B
Go
21 lines
350 B
Go
|
//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
|
||
|
)
|