mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-03-08 19:14:05 +00:00
When decoding, only treat the name as being explicitly set if the name differs from what the JSON name would have been had it been automatically derived from the protobuf field name. Change-Id: Ida9256eafe7af20c7a06be2d4fb298be44276104 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/185398 Reviewed-by: Herbie Ong <herbie@google.com>