aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/easy_parse
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/easy_parse
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/easy_parse')
-rw-r--r--library/cpp/json/easy_parse/json_easy_parser.h8
-rw-r--r--library/cpp/json/easy_parse/json_easy_parser_impl.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/json/easy_parse/json_easy_parser.h b/library/cpp/json/easy_parse/json_easy_parser.h
index 59d7791ab1..6a74f6c3d4 100644
--- a/library/cpp/json/easy_parse/json_easy_parser.h
+++ b/library/cpp/json/easy_parse/json_easy_parser.h
@@ -1,6 +1,6 @@
#pragma once
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/vector.h>
#include <util/stream/input.h>
#include <util/stream/output.h>
@@ -23,13 +23,13 @@ namespace NJson {
*/
class TJsonParser {
- TString Prefix;
+ TString Prefix;
struct TField {
- TVector<TPathElem> Path;
+ TVector<TPathElem> Path;
bool NonEmpty;
};
- TVector<TField> Fields;
+ TVector<TField> Fields;
friend class TRewriteJsonImpl;
diff --git a/library/cpp/json/easy_parse/json_easy_parser_impl.h b/library/cpp/json/easy_parse/json_easy_parser_impl.h
index ec55d838b3..491b684df7 100644
--- a/library/cpp/json/easy_parse/json_easy_parser_impl.h
+++ b/library/cpp/json/easy_parse/json_easy_parser_impl.h
@@ -10,10 +10,10 @@ namespace NJson {
MAP_KEY
};
}
- template <class TStringType>
+ template <class TStringType>
struct TPathElemImpl {
NImpl::EType Type;
- TStringType Key;
+ TStringType Key;
int ArrayCounter;
TPathElemImpl(NImpl::EType type)
@@ -36,5 +36,5 @@ namespace NJson {
}
};
- typedef TPathElemImpl<TString> TPathElem;
+ typedef TPathElemImpl<TString> TPathElem;
}