You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug Report: JSON Deserialization Case Sensitivity Issue in Go #67689
Title: json: cannot unmarshal string into Go struct field Ticker.E of type int64
Description:
I have encountered an issue with the encoding/json package in Go, where JSON deserialization does not correctly handle the case sensitivity of fields in strings. Specifically, when deserializing a JSON object, the field names in the JSON string are case-sensitive and do not match the struct fields if there is a difference in case.
Activity
zhizuzhefu commentedon May 29, 2024
Title: json: cannot unmarshal string into Go struct field Ticker.E of type int64
Description:
I have encountered an issue with the encoding/json package in Go, where JSON deserialization does not correctly handle the case sensitivity of fields in strings. Specifically, when deserializing a JSON object, the field names in the JSON string are case-sensitive and do not match the struct fields if there is a difference in case.
seankhliao commentedon May 29, 2024
Duplicate of #14750