Skip to content

Commit

Permalink
Add new including_default_value_without_presence_fields to Python JSO…
Browse files Browse the repository at this point in the history
…N serializer.

This flag has consistent behavior between proto2 and proto3 optionals (by not including either one), unlike including_default_value_fields which does include proto2 optional but excludes proto3 optionals.

including_default_value_fields is now deprecated and will be removed in an upcoming release.

PiperOrigin-RevId: 603156447
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Jan 31, 2024
1 parent f9ec860 commit 25c6d34
Show file tree
Hide file tree
Showing 5 changed files with 1,053 additions and 589 deletions.
Loading

0 comments on commit 25c6d34

Please sign in to comment.