diff options
author | rolton1999 <rolton1999@yandex-team.com> | 2023-11-04 16:23:27 +0300 |
---|---|---|
committer | rolton1999 <rolton1999@yandex-team.com> | 2023-11-04 16:38:05 +0300 |
commit | e3cfbb1c505b85fd2724af9bca32130db8305362 (patch) | |
tree | 109fd96019fdbbd708256eb3e711ae03e8f701b7 | |
parent | b5c60b12845080cf7ca566be672cc94b51e4cba7 (diff) | |
download | ydb-e3cfbb1c505b85fd2724af9bca32130db8305362.tar.gz |
GRUT: Add passThroughUtf8Characters to CreateYsonWriter
-rw-r--r-- | yt/yt/core/yson/writer.cpp | 6 | ||||
-rw-r--r-- | yt/yt/core/yson/writer.h | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/yt/yt/core/yson/writer.cpp b/yt/yt/core/yson/writer.cpp index 4db08ee279..1e623006c1 100644 --- a/yt/yt/core/yson/writer.cpp +++ b/yt/yt/core/yson/writer.cpp @@ -530,7 +530,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter( EYsonFormat format, EYsonType type, bool enableRaw, - int indent) + int indent, + bool passThroughUtf8Characters) { if (format == EYsonFormat::Binary) { return std::make_unique<TBufferedBinaryYsonWriter>( @@ -543,7 +544,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter( format, type, enableRaw, - indent); + indent, + passThroughUtf8Characters); } } diff --git a/yt/yt/core/yson/writer.h b/yt/yt/core/yson/writer.h index daba204889..9e5704d4f0 100644 --- a/yt/yt/core/yson/writer.h +++ b/yt/yt/core/yson/writer.h @@ -155,7 +155,8 @@ std::unique_ptr<IFlushableYsonConsumer> CreateYsonWriter( EYsonFormat format, EYsonType type, bool enableRaw, - int indent = TYsonWriter::DefaultIndent); + int indent = TYsonWriter::DefaultIndent, + bool passThroughUtf8Characters = false); //////////////////////////////////////////////////////////////////////////////// |