aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/yson
diff options
context:
space:
mode:
authorhippskill <hippskill@yandex-team.ru>2022-02-10 16:50:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:12 +0300
commitbd077d09a08e659195376ee97dc24728bb554246 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json/yson
parent6362c4a2681cc317ffd22633d773f02de0d13697 (diff)
downloadydb-bd077d09a08e659195376ee97dc24728bb554246.tar.gz
Restoring authorship annotation for <hippskill@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/yson')
-rw-r--r--library/cpp/json/yson/json2yson.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/json/yson/json2yson.cpp b/library/cpp/json/yson/json2yson.cpp
index 5030eec414..f72cb7a9ef 100644
--- a/library/cpp/json/yson/json2yson.cpp
+++ b/library/cpp/json/yson/json2yson.cpp
@@ -48,13 +48,13 @@ namespace NJson2Yson {
}
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, NYson::TYsonWriter* ysonWriter) {
- NYT::TYson2JsonCallbacksAdapter adapter(ysonWriter);
- WriteJsonValue(inputValue, &adapter);
- }
-
+ NYT::TYson2JsonCallbacksAdapter adapter(ysonWriter);
+ WriteJsonValue(inputValue, &adapter);
+ }
+
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, IOutputStream* outputStream) {
NYson::TYsonWriter ysonWriter(outputStream, NYson::EYsonFormat::Binary, ::NYson::EYsonType::Node, false);
- SerializeJsonValueAsYson(inputValue, &ysonWriter);
+ SerializeJsonValueAsYson(inputValue, &ysonWriter);
}
void SerializeJsonValueAsYson(const NJson::TJsonValue& inputValue, TString& result) {