aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/util/internal/testdata/books.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/util/internal/testdata/books.proto')
-rw-r--r--src/google/protobuf/util/internal/testdata/books.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/google/protobuf/util/internal/testdata/books.proto b/src/google/protobuf/util/internal/testdata/books.proto
index 5630cc78..812474bb 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;
}
@@ -193,7 +196,7 @@ message Cyclic {
}
// Test that two messages can have different fields mapped to the same JSON
-// name. See: https://github.com/google/protobuf/issues/1415
+// name. See: https://github.com/protocolbuffers/protobuf/issues/1415
message TestJsonName1 {
optional int32 one_value = 1 [json_name = "value"];
}