To me, this is unexpected behavior. If a JSON object doesn't match an
explicitly-specified field tag, I expect the Unmarshaler to give up; I
don't expect it to "fall back" and try to match based on variable
My concrete problem is described by this code:
I'm working around it by naming the variables IntegerId and StringId
(or whatever) but it seems wrong.
You received this message because you are subscribed to the Google Groups "golang-nuts" 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.