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
commitfc361854fd6ee8d747229b090f0b8018e260d1fb (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/json/easy_parse
parent9166d66c30c23c9e85a7c88185a068987148d23f (diff)
downloadydb-fc361854fd6ee8d747229b090f0b8018e260d1fb.tar.gz
Restoring authorship annotation for <myltsev@yandex-team.ru>. Commit 2 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 9f9486c6f5f..ec55d838b32 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)
{
}