diff options
author | stakanviski <stakanviski@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:01 +0300 |
commit | 95ab23a39b5482a434361566cabdd5b0a433cb43 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/json/proto2json_printer.cpp | |
parent | da8356a5535e6177965cba3bbae73c5fb28f6ccc (diff) | |
download | ydb-95ab23a39b5482a434361566cabdd5b0a433cb43.tar.gz |
Restoring authorship annotation for <stakanviski@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/proto2json_printer.cpp')
-rw-r--r-- | library/cpp/protobuf/json/proto2json_printer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/protobuf/json/proto2json_printer.cpp b/library/cpp/protobuf/json/proto2json_printer.cpp index dd244978da..6123eab0f2 100644 --- a/library/cpp/protobuf/json/proto2json_printer.cpp +++ b/library/cpp/protobuf/json/proto2json_printer.cpp @@ -3,7 +3,7 @@ #include "util.h" #include <util/generic/yexception.h> -#include <util/string/ascii.h> +#include <util/string/ascii.h> #include <util/string/cast.h> namespace NProtobufJson { @@ -36,7 +36,7 @@ namespace NProtobufJson { NewKeyBuf = field.name(); break; } - + case TProto2JsonConfig::FieldNameLowerCase: { NewKeyStr = field.name(); NewKeyStr.to_lower(); @@ -76,9 +76,9 @@ namespace NProtobufJson { default: Y_VERIFY_DEBUG(false, "Unknown FieldNameMode."); - } - } - + } + } + const TStringBuf& GetKey() const { return NewKeyBuf; } |