mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-07 06:32:43 +08:00
18 lines
385 B
Go
18 lines
385 B
Go
package json
|
|
|
|
import (
|
|
jsoniter "github.com/json-iterator/go"
|
|
)
|
|
|
|
// replace with third-party json library to improve performance
|
|
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
|
|
|
var (
|
|
Marshal = json.Marshal
|
|
MarshalIndent = json.MarshalIndent
|
|
Unmarshal = json.Unmarshal
|
|
NewDecoder = json.NewDecoder
|
|
NewEncoder = json.NewEncoder
|
|
Get = json.Get
|
|
)
|