aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_writer.cpp
diff options
context:
space:
mode:
authormyltsev <myltsev@yandex-team.ru>2022-02-10 16:46:03 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:03 +0300
commit9166d66c30c23c9e85a7c88185a068987148d23f (patch)
tree421bdcec5755d9e441c485560aab5ab8d74c7475 /library/cpp/json/json_writer.cpp
parent8d3a5ed3a188a34167eaee54f1691ce5c9edf2f3 (diff)
downloadydb-9166d66c30c23c9e85a7c88185a068987148d23f.tar.gz
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/json_writer.cpp')
-rw-r--r--library/cpp/json/json_writer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/json/json_writer.cpp b/library/cpp/json/json_writer.cpp
index 3d058bae36..c9fc529135 100644
--- a/library/cpp/json/json_writer.cpp
+++ b/library/cpp/json/json_writer.cpp
@@ -73,14 +73,14 @@ namespace NJson {
throw yexception() << "JSON writer: invalid UTF-8";
if (Buf.KeyExpected()) {
Buf.WriteKey(value);
- } else {
+ } else {
if (DontEscapeStrings) {
Buf.UnsafeWriteValue(TString("\"") + value + '"');
} else {
Buf.WriteString(value);
}
- }
- }
+ }
+ }
void TJsonWriter::WriteNull() {
Buf.WriteNull();