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/config.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/config.h')
-rw-r--r-- | library/cpp/protobuf/json/config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/protobuf/json/config.h b/library/cpp/protobuf/json/config.h index 9b39c3bd5b..dc84fb4d5d 100644 --- a/library/cpp/protobuf/json/config.h +++ b/library/cpp/protobuf/json/config.h @@ -50,8 +50,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 }; FldNameMode FieldNameMode = FieldNameOriginalCase; @@ -79,7 +79,7 @@ namespace NProtobufJson { StringifyLongNumbersForDouble, }; EStringifyLongNumbersMode StringifyLongNumbers = StringifyLongNumbersNever; - + /// Custom field names generator. TNameGenerator NameGenerator = {}; @@ -139,7 +139,7 @@ namespace NProtobufJson { MapAsObject = value; return *this; } - + TSelf& SetStringifyLongNumbers(EStringifyLongNumbersMode stringify) { StringifyLongNumbers = stringify; return *this; |