![Notice](/static/shared/icon/info_gm_grey_24dp.svg)
The highest tagged major version is
v2.
package
Version:
v1.0.22
Opens a new window with list of versions in this module.
Published: Jan 28, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
Marshal = json.Marshal
Unmarshal = json.Unmarshal
MarshalIndent = json.MarshalIndent
NewDecoder = json.NewDecoder
NewEncoder = json.NewEncoder
)
定义JSON操作
func MarshalToString(v interface{}) string
MarshalToString JSON编码为字符串
Source Files
¶
Click to show internal directories.
Click to hide internal directories.