diff options
author | v01d <v01d@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:40 +0300 |
commit | 5c6482e8c13dfaad60e604f0474606a0ec153b1d (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/json2proto.h | |
parent | fa8b0420162dd36d4f569fdc3f63da0bef8bb8c7 (diff) | |
download | ydb-5c6482e8c13dfaad60e604f0474606a0ec153b1d.tar.gz |
Restoring authorship annotation for <v01d@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json2proto.h')
-rw-r--r-- | library/cpp/protobuf/json/json2proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h index 0fa972c89a..4c33498dfa 100644 --- a/library/cpp/protobuf/json/json2proto.h +++ b/library/cpp/protobuf/json/json2proto.h @@ -26,8 +26,8 @@ namespace NProtobufJson { FieldNameLowerCase, FieldNameUpperCase, FieldNameCamelCase, - FieldNameSnakeCase, // ABC -> a_b_c, UserID -> user_i_d - FieldNameSnakeCaseDense // ABC -> abc, UserID -> user_id + FieldNameSnakeCase, // ABC -> a_b_c, UserID -> user_i_d + FieldNameSnakeCaseDense // ABC -> abc, UserID -> user_id }; enum EnumValueMode { @@ -123,7 +123,7 @@ namespace NProtobufJson { /// Consider map to be an object, otherwise consider it to be an array of key/value objects bool MapAsObject = false; - + /// Throw exception if there is no required fields in json object. bool CheckRequiredFields = true; |