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
_msgpack会被序列化到json中, msg不会
type Live struct { _msgpack struct{} `msgpack:",asArray"` msg string `json:"msg"` Tagname string `json:"tagname"` Value interface{} `json:"value"` }
增加json:"-"可以起作用,不会被序列化到json中
json:"-"
type Live struct { _msgpack struct{} `msgpack:",asArray" json:"-"` ... }
尝试官方库下划线开头字段不会被序列化
The text was updated successfully, but these errors were encountered:
fix issue #449
58aeb59
Fixed. Thanks for reporting!
Sorry, something went wrong.
it working now, Thanks
fix issue json-iterator#449
6203136
No branches or pull requests
_msgpack会被序列化到json中, msg不会
增加
json:"-"
可以起作用,不会被序列化到json中尝试官方库下划线开头字段不会被序列化
The text was updated successfully, but these errors were encountered: