aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/scimpl_json_write.cpp
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/scheme/scimpl_json_write.cpp
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/scheme/scimpl_json_write.cpp')
-rw-r--r--library/cpp/scheme/scimpl_json_write.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/scheme/scimpl_json_write.cpp b/library/cpp/scheme/scimpl_json_write.cpp
index 164ccbec31..aadd7e6cd5 100644
--- a/library/cpp/scheme/scimpl_json_write.cpp
+++ b/library/cpp/scheme/scimpl_json_write.cpp
@@ -70,7 +70,7 @@ namespace NSc {
NImpl::TSelfLoopContext::TGuard loopCheck(loopCtx, core);
if (!loopCheck.Ok) {
- out << TStringBuf("null"); // a loop encountered (and asserted), skip the back reference
+ out << TStringBuf("null"); // a loop encountered (and asserted), skip the back reference
return;
}
@@ -80,11 +80,11 @@ namespace NSc {
[[fallthrough]]; /* no break */
}
case EType::Null: {
- out << TStringBuf("null");
+ out << TStringBuf("null");
break;
}
case EType::Bool: {
- out << (core.IntNumber ? TStringBuf("true") : TStringBuf("false"));
+ out << (core.IntNumber ? TStringBuf("true") : TStringBuf("false"));
break;
}
case EType::IntNumber: {
@@ -96,7 +96,7 @@ namespace NSc {
if (!jopts.NumberPolicy || jopts.NumberPolicy(d)) {
out << d;
} else {
- out << TStringBuf("null");
+ out << TStringBuf("null");
}
break;
}
@@ -105,7 +105,7 @@ namespace NSc {
if (!jopts.StringPolicy || jopts.StringPolicy(s)) {
WriteString(out, s);
} else {
- out << TStringBuf("null");
+ out << TStringBuf("null");
}
break;
}