aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json/easy_parse
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/easy_parse
parent8d3a5ed3a188a34167eaee54f1691ce5c9edf2f3 (diff)
downloadydb-9166d66c30c23c9e85a7c88185a068987148d23f.tar.gz
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/easy_parse')
-rw-r--r--library/cpp/json/easy_parse/json_easy_parser_impl.h14
1 files changed, 7 insertions, 7 deletions
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 ec55d838b32..9f9486c6f5f 100644
--- a/library/cpp/json/easy_parse/json_easy_parser_impl.h
+++ b/library/cpp/json/easy_parse/json_easy_parser_impl.h
@@ -3,34 +3,34 @@
#include <util/generic/string.h>
namespace NJson {
- namespace NImpl {
+ namespace NImpl {
enum EType {
ARRAY,
MAP,
MAP_KEY
};
- }
+ }
template <class TStringType>
- struct TPathElemImpl {
- NImpl::EType Type;
+ struct TPathElemImpl {
+ NImpl::EType Type;
TStringType Key;
int ArrayCounter;
- TPathElemImpl(NImpl::EType type)
+ TPathElemImpl(NImpl::EType type)
: Type(type)
, ArrayCounter()
{
}
TPathElemImpl(const TStringType& key)
- : Type(NImpl::MAP_KEY)
+ : Type(NImpl::MAP_KEY)
, Key(key)
, ArrayCounter()
{
}
TPathElemImpl(int arrayCounter)
- : Type(NImpl::ARRAY)
+ : Type(NImpl::ARRAY)
, ArrayCounter(arrayCounter)
{
}