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 | 93e9e4639b6ee2afbdf45cf3927cea6d340e19b0 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/protobuf/json/json2proto.h | |
parent | 5a176099114d03d5669e95a55a3a514bd24dd8b1 (diff) | |
download | ydb-93e9e4639b6ee2afbdf45cf3927cea6d340e19b0.tar.gz |
Restoring authorship annotation for <mstebelev@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 | 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 5d7f10db72..4c33498dfa 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()) { |