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
{ "a": -1231.323, "b": { "z": 31, "p": true, "123": "key是字符串" } }
下面哪种转换比较合理呢......
type RootObject struct { A float64 `json:"a"` B map[string]interface{} `json:"b"` }
type RootObject struct { A float64 `json:"a"` B B `json:"b"` } type B struct { Z int `json:"z"` P bool `json:"p"` NumberField string `json:"123"` }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
下面哪种转换比较合理呢......
The text was updated successfully, but these errors were encountered: