aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/util/internal/testdata/books.proto
diff options
context:
space:
mode:
authorGravatar Harvey Tuch <htuch@google.com>2018-06-21 13:05:27 -0400
committerGravatar Harvey Tuch <htuch@google.com>2018-06-21 14:41:17 -0400
commit0584084b7ed29db8fcc78211ca7d12d77b95f302 (patch)
treed01cfda45ddb9df74e8e8d5e995e06ebb92c3ee7 /src/google/protobuf/util/internal/testdata/books.proto
parent761a6275d4b7089db50dda22eb4241ba7f923769 (diff)
protostream_objectsource: preserve print options across Any.
Fixes #4771. Based on the solution included in the issues from @wangjinhua. Validated this works with Envoy's /config_dump JSON rendering. Signed-off-by: Harvey Tuch <htuch@google.com>
Diffstat (limited to 'src/google/protobuf/util/internal/testdata/books.proto')
-rw-r--r--src/google/protobuf/util/internal/testdata/books.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/util/internal/testdata/books.proto b/src/google/protobuf/util/internal/testdata/books.proto
index 5630cc78..5e08a291 100644
--- a/src/google/protobuf/util/internal/testdata/books.proto
+++ b/src/google/protobuf/util/internal/testdata/books.proto
@@ -69,6 +69,9 @@ message Book {
}
optional Type type = 11;
+ // Useful for testing JSON snake/camel-case conversions.
+ optional string snake_field = 12;
+
extensions 200 to 499;
}