Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Json2List ¶
Json2List @params jsonData: json string @description Parse `[1,1,1]` to []int{1,1,1} the parameter can be any or interface{} @author xvwen @return []T
func Json2Struct ¶
Json2Struct 解析json字符串为结构体 @auther xvwen @param jsonData json字符串 `{"name","xvwen","blog":"www.baidu.com"}` @desc 解析json字符串为结构体 @return *T 结构体指针, error
func Json2StructList ¶
Json2StructList 解析json字符串为结构体切片 @auther xvwen @param jsonData json字符串 `{"name","xvwen","blog":"www.baidu.com"}` @desc 解析json字符串为结构体切片 @return *[]T 结构体切片指针, error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.