Join GitHub today
encoding/json.Unmarshal: clarify documentation around pre-populated field values #27172
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
The existing documentation misses to cover what will happen if json data with missing fields is unmarshalled, so a line is added to the documentation of json.Unmarshall() mentioning the consequences of unmarshalling json fields. Fixes golang#27172