Add a new 'includingDefaultValueWithoutPresenceFields' option to the Java parser which is intended to replace the current 'includingDefaultValueFields'.
The old flag accidentally had inconsistent behavior between proto2 optional and proto3 optional fields, the new flag treats them consistently (and is consistent with the preexisting behavior of the Go JSON serializer). includingDefaultValueFields is now deprecated and will be removed in an upcoming release. PiperOrigin-RevId: 603449195
P
Protobuf Team Bot committed
d111589bc05f0c11d9d2b0e230bc3217f24feb40
Parent: f4d5c2c
Committed by Copybara-Service <copybara-worker@google.com>
on 2/1/2024, 8:35:14 PM