diff options
author | Alexey Malov <malov.aleksey@gmail.com> | 2018-01-19 13:40:12 +0300 |
---|---|---|
committer | Alexey Malov <alexey.malov@ispringsolutions.com> | 2018-02-12 14:07:40 +0300 |
commit | 02452db72510ca383b7710054a6fba4651ea6a31 (patch) | |
tree | 2b19d0cd36e36e613678e52c4b5b9ca58d1dac03 /src/google/protobuf/util/internal/proto_writer.h | |
parent | 47b7d2c7cadf74ceec90fc5042232819cd0dd557 (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.h | 2 |
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 |