k3s/vendor/github.com/emicklei/go-restful/jsoniter.go

13 lines
247 B
Go
Raw Normal View History

2019-09-27 21:51:53 +00:00
// +build jsoniter
package restful
import "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)