github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/common/json/std.go (about)

     1  package json
     2  
     3  import "encoding/json"
     4  
     5  var (
     6  	Marshal    = json.Marshal
     7  	Unmarshal  = json.Unmarshal
     8  	NewEncoder = json.NewEncoder
     9  	NewDecoder = json.NewDecoder
    10  )
    11  
    12  type (
    13  	Encoder     = json.Encoder
    14  	Decoder     = json.Decoder
    15  	Token       = json.Token
    16  	Delim       = json.Delim
    17  	SyntaxError = json.SyntaxError
    18  )