aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/util/internal/proto_writer.h
diff options
context:
space:
mode:
authorGravatar Alexey Malov <malov.aleksey@gmail.com>2018-01-19 13:40:12 +0300
committerGravatar Alexey Malov <alexey.malov@ispringsolutions.com>2018-02-12 14:07:40 +0300
commit02452db72510ca383b7710054a6fba4651ea6a31 (patch)
tree2b19d0cd36e36e613678e52c4b5b9ca58d1dac03 /src/google/protobuf/util/internal/proto_writer.h
parent47b7d2c7cadf74ceec90fc5042232819cd0dd557 (diff)
The JsonParseOptions::ignore_unknown_fields option behavior treats
unrecognized string values in enum fields as default ones.
Diffstat (limited to 'src/google/protobuf/util/internal/proto_writer.h')
-rw-r--r--src/google/protobuf/util/internal/proto_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/util/internal/proto_writer.h b/src/google/protobuf/util/internal/proto_writer.h
index 0db8485c..9e3bbfeb 100644
--- a/src/google/protobuf/util/internal/proto_writer.h
+++ b/src/google/protobuf/util/internal/proto_writer.h
@@ -309,7 +309,7 @@ class LIBPROTOBUF_EXPORT ProtoWriter : public StructuredObjectWriter {
// Indicates whether we finished writing root message completely.
bool done_;
- // If true, don't report unknown field names to the listener.
+ // If true, don't report unknown field names and enum values to the listener.
bool ignore_unknown_fields_;
// If true, check if enum name in camel case or without underscore matches the