diff options
author | mstebelev <mstebelev@yandex-team.ru> | 2022-02-10 16:47:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:17 +0300 |
commit | 5a176099114d03d5669e95a55a3a514bd24dd8b1 (patch) | |
tree | 13d2cd27a59ccff4e44d7c7f530f923483f82267 /library/cpp/protobuf | |
parent | 3c1fe03778c21d7aa4a5c4a4433ca611dbf2f785 (diff) | |
download | ydb-5a176099114d03d5669e95a55a3a514bd24dd8b1.tar.gz |
Restoring authorship annotation for <mstebelev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r-- | library/cpp/protobuf/json/json2proto.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h index 4c33498dfa..5d7f10db72 100644 --- a/library/cpp/protobuf/json/json2proto.h +++ b/library/cpp/protobuf/json/json2proto.h @@ -175,12 +175,12 @@ namespace NProtobufJson { } /// @throw yexception - inline void Json2Proto(IInputStream& in, google::protobuf::Message& proto, - const TJson2ProtoConfig& config = TJson2ProtoConfig()) { - Json2Proto(TStringBuf(in.ReadAll()), proto, config); - } - - /// @throw yexception + inline void Json2Proto(IInputStream& in, google::protobuf::Message& proto, + const TJson2ProtoConfig& config = TJson2ProtoConfig()) { + Json2Proto(TStringBuf(in.ReadAll()), proto, config); + } + + /// @throw yexception template <typename T> T Json2Proto(IInputStream& in, const NJson::TJsonReaderConfig& readerConfig, const TJson2ProtoConfig& config = TJson2ProtoConfig()) { |