jsoniter.go 478 B

1234567891011121314151617
  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. //默认使用 json-iterator
  5. package json
  6. import jsoniter "git.ikuban.com/server/json"
  7. var (
  8. json = jsoniter.ConfigCompatibleWithStandardLibrary
  9. Marshal = json.Marshal
  10. Unmarshal = json.Unmarshal
  11. MarshalIndent = json.MarshalIndent
  12. NewDecoder = json.NewDecoder
  13. NewEncoder = json.NewEncoder
  14. )