github.com/jxskiss/gopkg@v0.17.3/json/json_std.go (about)

     1  // +build !gojson,!jsoniter
     2  
     3  package json
     4  
     5  import "encoding/json"
     6  
     7  type (
     8  	Delim      = json.Delim
     9  	Token      = json.Token
    10  	Number     = json.Number
    11  	RawMessage = json.RawMessage
    12  
    13  	InvalidUTF8Error      = json.InvalidUTF8Error
    14  	InvalidUnmarshalError = json.InvalidUnmarshalError
    15  	MarshalerError        = json.MarshalerError
    16  	SyntaxError           = json.SyntaxError
    17  	UnmarshalFieldError   = json.UnmarshalFieldError
    18  	UnmarshalTypeError    = json.UnmarshalTypeError
    19  	UnsupportedTypeError  = json.UnsupportedTypeError
    20  	UnsupportedValueError = json.UnsupportedValueError
    21  )
    22  
    23  var (
    24  	_Marshal             = json.Marshal
    25  	_MarshalIndent       = json.MarshalIndent
    26  	_MarshalMapUnordered = json.Marshal
    27  	_Unmarshal           = json.Unmarshal
    28  )
    29  
    30  var (
    31  	Compact    = json.Compact
    32  	HTMLEscape = json.HTMLEscape
    33  	Indent     = json.Indent
    34  	Valid      = json.Valid
    35  )
    36  
    37  type (
    38  	aliasEncoder = json.Encoder
    39  	aliasDecoder = json.Decoder
    40  )
    41  
    42  var (
    43  	_NewEncoder = json.NewEncoder
    44  	_NewDecoder = json.NewDecoder
    45  )