peridot/vendor/github.com/emicklei/go-restful/v3/jsoniter.go

13 lines
247 B
Go
Raw Permalink Normal View History

// +build jsoniter
package restful
import "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)