This PR also changes behavior of outputDefaultValues for unset nested message fields. Before we were outputting null and now we don't output any value. This is consistent with c++, python and java, as explained here: https://github.com/noom/protobuf/pull/5
Motivation
Fixes https://github.com/streem/pbandk/issues/235
Changes
jsonConfig.outputDefaultValues
)This is consistent with the following: https://github.com/protocolbuffers/protobuf/blob/main/docs/field_presence.md#semantic-differences
This PR also changes behavior of
outputDefaultValues
for unset nested message fields. Before we were outputtingnull
and now we don't output any value. This is consistent with c++, python and java, as explained here: https://github.com/noom/protobuf/pull/5Tested
Run all unit tests in
runtime