Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: bug in json.Unmarshal if keys in JSON differ only by case #26687
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Reading the godoc, this appears to be incorrect behavior:
If the case insensitive match overwrites the case sensitive match, it seems like the preference mentioned above isn't working.