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"];
}
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"];
}
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"];
}