aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/json/json2proto.h
diff options
context:
space:
mode:
authormonnoroch <monnoroch@yandex-team.ru>2022-02-10 16:50:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:35 +0300
commitff230fa56fa52d83a67896163c937c432faabff1 (patch)
tree4fca95e9c3a81157609ba9c01c82e4205f2cdc19 /library/cpp/protobuf/json/json2proto.h
parent6c28d571885436fe17efe87ca39884f80852bb8c (diff)
downloadydb-ff230fa56fa52d83a67896163c937c432faabff1.tar.gz
Restoring authorship annotation for <monnoroch@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/json/json2proto.h')
-rw-r--r--library/cpp/protobuf/json/json2proto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/protobuf/json/json2proto.h b/library/cpp/protobuf/json/json2proto.h
index 4c33498dfa..2ae77cad2c 100644
--- a/library/cpp/protobuf/json/json2proto.h
+++ b/library/cpp/protobuf/json/json2proto.h
@@ -6,7 +6,7 @@
#include <library/cpp/json/json_reader.h>
#include <library/cpp/json/json_value.h>
-#include <util/stream/input.h>
+#include <util/stream/input.h>
#include <util/stream/str.h>
#include <util/stream/mem.h>
@@ -15,7 +15,7 @@ namespace google {
class Message;
}
}
-
+
namespace NProtobufJson {
struct TJson2ProtoConfig {
using TSelf = TJson2ProtoConfig;
@@ -198,21 +198,21 @@ namespace NProtobufJson {
readerConfig.DontValidateUtf8 = true;
return Json2Proto<T>(in, readerConfig, config);
}
-
+
/// @throw yexception
template <typename T>
T Json2Proto(const TString& value, const TJson2ProtoConfig& config = TJson2ProtoConfig()) {
TStringInput in(value);
return Json2Proto<T>(in, config);
}
-
+
/// @throw yexception
template <typename T>
T Json2Proto(const TStringBuf& value, const TJson2ProtoConfig& config = TJson2ProtoConfig()) {
TMemoryInput in(value);
return Json2Proto<T>(in, config);
}
-
+
/// @throw yexception
template <typename T>
T Json2Proto(const char* ptr, const TJson2ProtoConfig& config = TJson2ProtoConfig()) {