aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/writer/json.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/json/writer/json.cpp
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/writer/json.cpp')
-rw-r--r--library/cpp/json/writer/json.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/json/writer/json.cpp b/library/cpp/json/writer/json.cpp
index b5c0d517ea..02370c2d79 100644
--- a/library/cpp/json/writer/json.cpp
+++ b/library/cpp/json/writer/json.cpp
@@ -214,13 +214,13 @@ namespace NJsonWriter {
}
TValueContext TBuf::WriteNull() {
- UnsafeWriteValue(TStringBuf("null"));
+ UnsafeWriteValue(TStringBuf("null"));
return TValueContext(*this);
}
TValueContext TBuf::WriteBool(bool b) {
- constexpr TStringBuf trueVal = "true";
- constexpr TStringBuf falseVal = "false";
+ constexpr TStringBuf trueVal = "true";
+ constexpr TStringBuf falseVal = "false";
UnsafeWriteValue(b ? trueVal : falseVal);
return TValueContext(*this);
}
@@ -323,7 +323,7 @@ namespace NJsonWriter {
#define MATCH(sym, string) \
case sym: \
UnsafeWriteRawBytes(beg, cur - beg); \
- UnsafeWriteRawBytes(TStringBuf(string)); \
+ UnsafeWriteRawBytes(TStringBuf(string)); \
return true
inline bool TBuf::EscapedWriteChar(const char* beg, const char* cur, EHtmlEscapeMode hem) {