1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

fix #286 calcHash should use byte not rune to calc hash

This commit is contained in:
Tao Wen
2018-08-06 13:23:06 +08:00
parent 10a568c511
commit 0260c89b54
2 changed files with 9 additions and 7 deletions

View File

@ -145,6 +145,9 @@ func init() {
(*struct {
Field bool `json:",omitempty,string"`
})(nil),
(*struct {
Field bool `json:"中文"`
})(nil),
)
}