encoding/json: string option: decoding struct slices: if field is null in JSON, value gets set to previous struct's field value #9810
Labels
Comments
Verified fixed on tip. We don't maintain releases other than |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have seen this with Go 1.2.1 (bundled with App Engine), and could not find a bug report or fix.
This is not an issue with 1.4.1, so I think it has been silently/inadvertently fixed.
http://play.golang.org/p/jE3tFV8dZN
Go 1.2.1 output: "5838406743490560 5838406743490560"
Go 1.4.1 output: "5838406743490560 0"
The text was updated successfully, but these errors were encountered: