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

     1  // +build gojay
     2  
     3  package json
     4  
     5  import (
     6  	"encoding/json"
     7  
     8  	"github.com/francoispqt/gojay"
     9  )
    10  
    11  var (
    12  	MarshalIndent = json.MarshalIndent
    13  	Marshal       = gojay.Marshal
    14  	Unmarshal     = gojay.Unmarshal
    15  	NewDecoder    = gojay.NewDecoder
    16  	NewEncoder    = gojay.NewEncoder
    17  )