aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/writer/json.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/json/writer/json.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/writer/json.h')
-rw-r--r--library/cpp/json/writer/json.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/json/writer/json.h b/library/cpp/json/writer/json.h
index 0aae2531b9..d7c77f9c63 100644
--- a/library/cpp/json/writer/json.h
+++ b/library/cpp/json/writer/json.h
@@ -2,7 +2,7 @@
#include <util/generic/noncopyable.h>
#include <util/generic/ptr.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <util/generic/yexception.h>
#include <util/stream/str.h>
@@ -36,7 +36,7 @@ namespace NJsonWriter {
struct TBufState {
bool NeedComma;
bool NeedNewline;
- TVector<EJsonEntity> Stack;
+ TVector<EJsonEntity> Stack;
};
class TBuf : TNonCopyable {
@@ -88,7 +88,7 @@ namespace NJsonWriter {
/*** Return the string formed in the internal TStringStream.
* You may only call it if the `stream' parameter was NULL
* at construction time. */
- const TString& Str() const;
+ const TString& Str() const;
/*** Dump and forget the string constructed so far.
* You may only call it if the `stream' parameter was NULL
@@ -147,10 +147,10 @@ namespace NJsonWriter {
private:
IOutputStream* Stream;
THolder<TStringStream> StringStream;
- typedef TVector<const TString*> TKeys;
+ typedef TVector<const TString*> TKeys;
TKeys Keys;
- TVector<EJsonEntity> Stack;
+ TVector<EJsonEntity> Stack;
bool NeedComma;
bool NeedNewline;
const EHtmlEscapeMode EscapeMode;