diff options
author | stone4774 <stone4774@qq.com> | 2018-03-19 15:57:07 +0800 |
---|---|---|
committer | stone4774 <stone4774@qq.com> | 2018-03-19 15:57:07 +0800 |
commit | 773d8c3329d1a28732d9f9c4b21c02e302052e4f (patch) | |
tree | ed014e4978d3ea968d2a1861707cdc87d9e09f4a /src/google/protobuf/util/json_format_proto3.proto | |
parent | a48d58df9643781947da57bdc13a23ac8d868346 (diff) | |
download | protobuf-773d8c3329d1a28732d9f9c4b21c02e302052e4f.tar.gz protobuf-773d8c3329d1a28732d9f9c4b21c02e302052e4f.tar.bz2 protobuf-773d8c3329d1a28732d9f9c4b21c02e302052e4f.zip |
Fix bug: whether always_print_enums_as_ints is true or false, it always print the default value of enums as strings
Diffstat (limited to 'src/google/protobuf/util/json_format_proto3.proto')
-rw-r--r-- | src/google/protobuf/util/json_format_proto3.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/google/protobuf/util/json_format_proto3.proto b/src/google/protobuf/util/json_format_proto3.proto index 8a0441c8..cbc3f81f 100644 --- a/src/google/protobuf/util/json_format_proto3.proto +++ b/src/google/protobuf/util/json_format_proto3.proto @@ -181,3 +181,9 @@ message TestCustomJsonName { message TestExtensions { .protobuf_unittest.TestAllExtensions extensions = 1; } + +message TestEnumValue{ + EnumType enum_value1 = 1; + EnumType enum_value2 = 2; + EnumType enum_value3 = 3; +}
\ No newline at end of file |