deprecatedLegacyJsonFieldConflicts property

  1. @Deprecated('This field is deprecated.')
  2. @TagNumber(6)
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. TODO Remove this legacy behavior once downstream teams have had time to migrate.

Implementation

@$core.Deprecated('This field is deprecated.')
@$pb.TagNumber(6)
$core.bool get deprecatedLegacyJsonFieldConflicts => $_getBF(2);
  1. @Deprecated('This field is deprecated.')
  2. @TagNumber(6)
set deprecatedLegacyJsonFieldConflicts (bool v)

Implementation

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