Versions in this module Expand all Collapse all v1 v1.0.0 Nov 16, 2022 Changes in this version + const ERR_UNKNOW_TYPE + func GetDataFromStr(data string, res interface{}) error + func GetDataMapFromStr(data string) (map[string]interface{}, error) + func JsonToMap(data string) (map[string]interface{}, error) + func ValToJson(val interface{}) (string, error) + func ValToMap(val interface{}) (map[string]interface{}, error) + type DataType int + const DATA_TYPE_JSON + const DATA_TYPE_UNKNOW + const DATA_TYPE_XML