json.go 534 B

123456789101112131415161718192021
  1. // Copyright 2021 ls. All rights reserved.
  2. //go:build !jsoniter
  3. // +build !jsoniter
  4. package json
  5. import "encoding/json"
  6. var (
  7. // Marshal is exported by sacred/json package.
  8. Marshal = json.Marshal
  9. // Unmarshal is exported by sacred/json package.
  10. Unmarshal = json.Unmarshal
  11. // MarshalIndent is exported by sacred/json package.
  12. MarshalIndent = json.MarshalIndent
  13. // NewDecoder is exported by sacred/json package.
  14. NewDecoder = json.NewDecoder
  15. // NewEncoder is exported by sacred/json package.
  16. NewEncoder = json.NewEncoder
  17. )