Documentation
¶
Index ¶
Constants ¶
View Source
const ( EncodeTypeNormal = 0 EncodeTypeFast = 1 EncodeTypeSort = 2 )
Variables ¶
View Source
var Api = jsoniter.Config{ EscapeHTML: true, ValidateJsonRawMessage: true, UseNumber: true, }.Froze()
View Source
var EscapeApi = jsoniter.Config{ EscapeHTML: true, }.Froze()
View Source
var FastApi = jsoniter.Config{}.Froze()
View Source
var SortApi = jsoniter.Config{ EscapeHTML: true, SortMapKeys: true, ValidateJsonRawMessage: true, }.Froze()
Functions ¶
func MarshalBase ¶
MarshalBase marshal data other than base structure
func MarshalBaseToString ¶
MarshalBaseToString marshal data to string other than base structure
func MarshalToString ¶
MarshalToString json encode,return string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.