SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 180 C++

Changes how JSON formatting works for fields supporting presence

Fixes #7486.

Note that this changes the behavior for message fields where
"WithFormatDefaultValues(true)" has been specified. This is
effectively fixing a bug, but will need to be noted in the release
notes.

Basically, FormatDefaultValues only affects fields that don't
support presence - most commonly, singular primitive non-optional
fields in proto3.
J
Jon Skeet committed
ff70af6cfc19d77f845981dfee755e1490ed70bb
Parent: f1ce866
Committed by Jon Skeet <skeet@pobox.com> on 6/11/2020, 5:43:29 AM