mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-30 16:46:27 +00:00
13 lines
247 B
Go
13 lines
247 B
Go
|
// +build jsoniter
|
||
|
|
||
|
package restful
|
||
|
|
||
|
import "github.com/json-iterator/go"
|
||
|
|
||
|
var (
|
||
|
json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||
|
MarshalIndent = json.MarshalIndent
|
||
|
NewDecoder = json.NewDecoder
|
||
|
NewEncoder = json.NewEncoder
|
||
|
)
|