aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/json_writer.h
diff options
context:
space:
mode:
authorVasily Gerasimov <UgnineSirdis@gmail.com>2022-02-10 16:49:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:09 +0300
commit6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch)
treef69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /library/cpp/json/json_writer.h
parente5d4696304c6689379ac7ce334512404d4b7836c (diff)
downloadydb-6cdc8f140213c595e4ad38bc3d97fcef1146b8c3.tar.gz
Restoring authorship annotation for Vasily Gerasimov <UgnineSirdis@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/json_writer.h')
-rw-r--r--library/cpp/json/json_writer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/json/json_writer.h b/library/cpp/json/json_writer.h
index c7f5c9499a..5da559ac35 100644
--- a/library/cpp/json/json_writer.h
+++ b/library/cpp/json/json_writer.h
@@ -5,7 +5,7 @@
#include "json_value.h"
#include <library/cpp/json/writer/json.h>
-
+
#include <util/stream/output.h>
#include <util/generic/hash.h>
#include <util/generic/maybe.h>
@@ -133,7 +133,7 @@ namespace NJson {
Buf.WriteKey(key);
Write(value);
}
-
+
// write raw json without checks
void UnsafeWrite(const TStringBuf& key, const TStringBuf& value) {
Buf.WriteKey(key);
@@ -144,7 +144,7 @@ namespace NJson {
Buf.WriteKey(key);
WriteNull();
}
-
+
template <typename T>
void WriteOptional(const TStringBuf& key, const TMaybe<T>& value) {
if (value) {