jsoniter.go 401 B

123456789101112131415161718
  1. // Copyright 2017 Bo-Yi Wu. All rights reserved.
  2. // Use of this source code is governed by a MIT style
  3. // license that can be found in the LICENSE file.
  4. // +build jsoniter
  5. package json
  6. import (
  7. "github.com/json-iterator/go"
  8. )
  9. var (
  10. json = jsoniter.ConfigCompatibleWithStandardLibrary
  11. Marshal = json.Marshal
  12. MarshalIndent = json.MarshalIndent
  13. NewDecoder = json.NewDecoder
  14. )