| Name | Tag | Type | Label | Description |
|---|---|---|---|---|
string | 1 | string | optional |
pb.enumvalue
Messages
Extensions
Extension
json
Extends google.protobuf.EnumValueOptions
optional JsonEnumValueOptions json = 998;
| Name | Tag | Type | Label | Description |
|---|---|---|---|---|
string | 1 | string | optional |
Extends google.protobuf.EnumValueOptions
Allows user to specify a custom string to use when serializing an enum value to JSON.
Sample usage: enum Foo { ... FOO_BAR = 42 [(pb.enumvalue.json).string = "my_custom_name"]; }