deprecatedLegacyJsonFieldConflicts property

  1. @Deprecated('This field is deprecated.')
  2. @TagNumber(11)
bool get deprecatedLegacyJsonFieldConflicts

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);
  1. @Deprecated('This field is deprecated.')
  2. @TagNumber(11)
set deprecatedLegacyJsonFieldConflicts (bool v)

Implementation

@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(11)
set deprecatedLegacyJsonFieldConflicts($core.bool v) { $_setBool(4, v); }