diff options
author | chegoryu <chegoryu@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | e4b93027b4c6dbd741ebd637f0b5db1d583ee93f (patch) | |
tree | 8b70986cdec2c8b7996f47c0429a6ec5dcd09392 /library/cpp/protobuf/json/json2proto.h | |
parent | 095c2e55a230f89487c2f2caace05e108742d72c (diff) | |
download | ydb-e4b93027b4c6dbd741ebd637f0b5db1d583ee93f.tar.gz |
Restoring authorship annotation for <chegoryu@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json2proto.h')
-rw-r--r-- | library/cpp/protobuf/json/json2proto.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h index 4c33498dfa..84402245b0 100644 --- a/library/cpp/protobuf/json/json2proto.h +++ b/library/cpp/protobuf/json/json2proto.h @@ -93,11 +93,11 @@ namespace NProtobufJson { return *this; } - TSelf& SetAllowComments(bool value) { - AllowComments = value; - return *this; - } - + TSelf& SetAllowComments(bool value) { + AllowComments = value; + return *this; + } + TSelf& SetAllowUnknownFields(bool value) { AllowUnknownFields = value; return *this; @@ -141,9 +141,9 @@ namespace NProtobufJson { /// Custom spliter non array value to repeated fields. TValueVectorizer ValueVectorizer; - - /// Allow js-style comments (both // and /**/) - bool AllowComments = false; + + /// Allow js-style comments (both // and /**/) + bool AllowComments = false; }; /// @throw yexception |