I'd like you to review this change to
encoding/json: document case-insensitive Unmarshal key matching
Fixes issue 4664.
Please review this at https://codereview.appspot.com/7237060/
@@ -33,6 +33,10 @@
// the value pointed at by the pointer. If the pointer is nil, Unmarshal
// allocates a new value for it to point to.
+// To unmarshal JSON into a struct, Unmarshal matches incoming object
+// keys to the keys used by Marshal (either the struct field name or its
+// preferring an exact match but also accepting a case-insensitive match.
// To unmarshal JSON into an interface value, Unmarshal unmarshals
// the JSON into the concrete value contained in the interface value.
// If the interface value is nil, that is, has no concrete value stored in
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.