deprecatedLegacyJsonFieldConflicts property
Enable the legacy handling of JSON field name conflicts. This lowercases
and strips underscored from the fields before comparison in proto3 only.
The new behavior takes json_name
into account and applies to proto2 as
well.
This should only be used as a temporary measure against broken builds due to the change in behavior for JSON field name conflicts.
TODO This is legacy behavior we plan to remove once downstream teams have had time to migrate.
Implementation
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(11)
$core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(4);
- @Deprecated('This field is deprecated.')
- @TagNumber(11)
Implementation
@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(11)
set deprecatedLegacyJsonFieldConflicts($core.bool v) { $_setBool(4, v); }