12345678910111213141516171819202122 |
- // Copyright 2021 ls. All rights reserved.
- //go:build jsoniter
- // +build jsoniter
- package json
- import jsoniter "github.com/json-iterator/go"
- var (
- json = jsoniter.ConfigCompatibleWithStandardLibrary
- // Marshal is exported by sacred/json package.
- Marshal = json.Marshal
- // Unmarshal is exported by sacred/json package.
- Unmarshal = json.Unmarshal
- // MarshalIndent is exported by sacred/json package.
- MarshalIndent = json.MarshalIndent
- // NewDecoder is exported by sacred/json package.
- NewDecoder = json.NewDecoder
- // NewEncoder is exported by sacred/json package.
- NewEncoder = json.NewEncoder
- )
|