jsonName property

  1. @TagNumber(10)
String get jsonName

JSON name of this field. The value is set by protocol compiler. If the user has set a "json_name" option on this field, that option's value will be used. Otherwise, it's deduced from the field's name by converting it to camelCase.

Implementation

@$pb.TagNumber(10)
$core.String get jsonName => $_getSZ(9);
  1. @TagNumber(10)
set jsonName (String v)

Implementation

@$pb.TagNumber(10)
set jsonName($core.String v) { $_setString(9, v); }