We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StringMapE
func StringMapE(val interface{}) (m map[string]interface{}, err error)
// input `{"name":"cvt","age":3.21}` // expect map[string]interface{}{"name": "cvt", "age": 3.21}
map
// input map[interface{}]interface{}{111: "cvt", "222": 3.21} // expect map[string]interface{}{"111": "cvt", "222": 3.21}
struct
// input struct { Name string Age int }{"cvt", 3} // expect map[string]interface{}{"Name": "cvt", "Age": 3}
The text was updated successfully, but these errors were encountered:
Add func StringMapE #2
7d83d70
* Support JSON string of map * Support any `map` type * Support any `struct` type
shockerli
No branches or pull requests
func
feature
map
typestruct
typeThe text was updated successfully, but these errors were encountered: