aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node_io.h
diff options
context:
space:
mode:
authorlevysotsky <levysotsky@yandex-team.ru>2022-02-10 16:47:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:29 +0300
commit57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50 (patch)
treeba6454f353979bb4bafaf230cafdf3e02ea120b2 /library/cpp/yson/node/node_io.h
parent23d4769f0fea97cfb1028710e50f2b5ecd0ac2c0 (diff)
downloadydb-57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50.tar.gz
Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yson/node/node_io.h')
-rw-r--r--library/cpp/yson/node/node_io.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/yson/node/node_io.h b/library/cpp/yson/node/node_io.h
index 2ad23b658f..cdab595044 100644
--- a/library/cpp/yson/node/node_io.h
+++ b/library/cpp/yson/node/node_io.h
@@ -11,28 +11,28 @@ namespace NYT {
////////////////////////////////////////////////////////////////////////////////
-// Parse TNode from string in YSON format
+// Parse TNode from string in YSON format
TNode NodeFromYsonString(const TStringBuf input, ::NYson::EYsonType type = ::NYson::EYsonType::Node);
-
-// Serialize TNode to string in one of YSON formats with random order of maps' keys (don't use in tests)
+
+// Serialize TNode to string in one of YSON formats with random order of maps' keys (don't use in tests)
TString NodeToYsonString(const TNode& node, ::NYson::EYsonFormat format = ::NYson::EYsonFormat::Text);
-// Same as the latter, but maps' keys are sorted lexicographically (to be used in tests)
+// Same as the latter, but maps' keys are sorted lexicographically (to be used in tests)
TString NodeToCanonicalYsonString(const TNode& node, ::NYson::EYsonFormat format = ::NYson::EYsonFormat::Text);
-
-// Parse TNode from stream in YSON format
+
+// Parse TNode from stream in YSON format
TNode NodeFromYsonStream(IInputStream* input, ::NYson::EYsonType type = ::NYson::EYsonType::Node);
-
-// Serialize TNode to stream in one of YSON formats with random order of maps' keys (don't use in tests)
+
+// Serialize TNode to stream in one of YSON formats with random order of maps' keys (don't use in tests)
void NodeToYsonStream(const TNode& node, IOutputStream* output, ::NYson::EYsonFormat format = ::NYson::EYsonFormat::Text);
-// Same as the latter, but maps' keys are sorted lexicographically (to be used in tests)
+// Same as the latter, but maps' keys are sorted lexicographically (to be used in tests)
void NodeToCanonicalYsonStream(const TNode& node, IOutputStream* output, ::NYson::EYsonFormat format = ::NYson::EYsonFormat::Text);
-
-// Parse TNode from string in JSON format
+
+// Parse TNode from string in JSON format
TNode NodeFromJsonString(const TStringBuf input);
-
-// Convert TJsonValue to TNode
+
+// Convert TJsonValue to TNode
TNode NodeFromJsonValue(const NJson::TJsonValue& input);
////////////////////////////////////////////////////////////////////////////////