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 zhangskz committed Feb 5, 2024
1 parent 5722aef commit c530216
Show file tree
Hide file tree
Showing 5 changed files with 1,053 additions and 589 deletions.
Loading

0 comments on commit c530216

Please sign in to comment.