Documentation ¶
Overview ¶
Package json : 使用 github.com/bytedance/sonic 替代 encoding/json,性能更好
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Marshal is exported by gin/json package. Marshal = xMarshal // Unmarshal is exported by gin/json package. Unmarshal = xUnmarshal // MarshalIndent is exported by gin/json package. MarshalIndent = json.MarshalIndent // MarshalToString return string and error MarshalToString = xMarshalToString // UnmarshalFromString get data from string UnmarshalFromString = xUnmarshalFromString // NewDecoder is exported by gin/json package. NewDecoder = json.NewDecoder // NewEncoder is exported by gin/json package. NewEncoder = json.NewEncoder // Valid check if valid json string Valid = json.Valid )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.