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
When unmarshalling a json object with a lowercase name into a struct with a field of the
same name capitalized, json.Unmarshal will match the object name to that struct field.
This behavior is the same in 1.0.3 and tip, and it is not documented on 1.0.3 or tip.
http://tip.play.golang.org/p/8CtjwVlmNLhttp://tip.golang.org/pkg/encoding/json/#Unmarshal
It would be good to point this out in the json.Unmarshal doc comment.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: