package json
import "github.com/bytedance/sonic"
var api = sonic.ConfigStd
var (
Marshal = api.Marshal
Unmarshal = api.Unmarshal
MarshalIndent = api.MarshalIndent
NewDecoder = api.NewDecoder
NewEncoder = api.NewEncoder
)
type Encoder = sonic.Encoder
type Decoder = sonic.Decoder
func SetConfig(config *sonic.Config) {
api = config.Froze()
}