diff options
author | hippskill <hippskill@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
commit | 6362c4a2681cc317ffd22633d773f02de0d13697 (patch) | |
tree | 566537c590e1d85a85954c227ac36495243a9030 /library/cpp/json | |
parent | 4b28e15652a7672062edb6804bc985eedc333257 (diff) | |
download | ydb-6362c4a2681cc317ffd22633d773f02de0d13697.tar.gz |
Restoring authorship annotation for <hippskill@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json')
-rw-r--r-- | library/cpp/json/yson/json2yson.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/json/yson/json2yson.cpp b/library/cpp/json/yson/json2yson.cpp index f72cb7a9ef..5030eec414 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) { |