github.com/webx-top/com@v1.2.12/encoding/json/jsoniter.go (about)

     1  // +build jsoniter
     2  
     3  package json
     4  
     5  import (
     6  	jsoniter "github.com/json-iterator/go"
     7  )
     8  
     9  var (
    10  	json          = jsoniter.ConfigCompatibleWithStandardLibrary
    11  	MarshalIndent = json.MarshalIndent
    12  	Marshal       = json.Marshal
    13  	Unmarshal     = json.Unmarshal
    14  	NewDecoder    = json.NewDecoder
    15  	NewEncoder    = json.NewEncoder
    16  )