package
Version:
v1.2.4
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
License: GPL-2.0, GPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
TO_OBJ_INVALID_PARAM = errors.New("xjson.ToObj invalid param")
TO_OBJ_PARSE_ERROR = errors.New("xjson.ToObj parse content fail")
TO_OBJ_UNSUPPORT_DATA = errors.New("xjson.ToObj unsupport type")
)
func ToObj(data interface{}, obj interface{}) error
字符串/字节数组转对象(指针)
func ToPrint(v interface{}) string
对象转字符串输出
Source Files
¶
Click to show internal directories.
Click to hide internal directories.