diff options
| author | chegoryu <[email protected]> | 2022-02-10 16:49:47 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:47 +0300 |
| commit | 767f05356832cfac686778897626e124d257dbc8 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/json2proto.h | |
| parent | e4b93027b4c6dbd741ebd637f0b5db1d583ee93f (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 84402245b07..4c33498dfa3 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 |
