aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/flex_buffers/cvt.cpp
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/json/flex_buffers/cvt.cpp
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/flex_buffers/cvt.cpp')
-rw-r--r--library/cpp/json/flex_buffers/cvt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/json/flex_buffers/cvt.cpp b/library/cpp/json/flex_buffers/cvt.cpp
index fee0cea0b8..399871bf68 100644
--- a/library/cpp/json/flex_buffers/cvt.cpp
+++ b/library/cpp/json/flex_buffers/cvt.cpp
@@ -50,7 +50,7 @@ namespace {
}
bool OnString(const TStringBuf& v) override {
- B.String(v.data(), v.size());
+ B.String(v.data(), v.size());
return true;
}
@@ -64,7 +64,7 @@ namespace {
bool OnMapKey(const TStringBuf& v) override {
auto iv = P.AppendCString(v);
- B.Key(iv.data(), iv.size());
+ B.Key(iv.data(), iv.size());
return true;
}
@@ -133,7 +133,7 @@ void NJson::ConvertJsonToFlexBuffers(TStringBuf input, TFlexBuffersData& result)
}
TString NJson::FlexToString(const TFlexBuffersData& v) {
- auto root = flexbuffers::GetRoot(v.data(), v.size());
+ auto root = flexbuffers::GetRoot(v.data(), v.size());
return TString(root.ToString());
}