mirror of https://github.com/milvus-io/milvus.git
24 lines
529 B
Go
24 lines
529 B
Go
package json
|
|
|
|
import (
|
|
gojson "encoding/json"
|
|
|
|
"github.com/bytedance/sonic"
|
|
)
|
|
|
|
var (
|
|
json = sonic.ConfigStd
|
|
// Marshal is exported by gin/json package.
|
|
Marshal = json.Marshal
|
|
// Unmarshal is exported by gin/json package.
|
|
Unmarshal = json.Unmarshal
|
|
// MarshalIndent is exported by gin/json package.
|
|
MarshalIndent = json.MarshalIndent
|
|
// NewDecoder is exported by gin/json package.
|
|
NewDecoder = json.NewDecoder
|
|
// NewEncoder is exported by gin/json package.
|
|
NewEncoder = json.NewEncoder
|
|
)
|
|
|
|
type Number = gojson.Number
|