diff options
author | Vasily Gerasimov <UgnineSirdis@gmail.com> | 2022-02-10 16:49:09 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:09 +0300 |
commit | 6cdc8f140213c595e4ad38bc3d97fcef1146b8c3 (patch) | |
tree | f69637041e6fed76ebae0c74ae1fa0c4be6ab5b4 /library/cpp/json/json_writer.h | |
parent | e5d4696304c6689379ac7ce334512404d4b7836c (diff) | |
download | ydb-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.h | 6 |
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) { |