diff options
author | muzich <muzich@yandex-team.ru> | 2022-02-10 16:49:54 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:54 +0300 |
commit | bf6bd1f317019d83a3f8d5d39c2d0e9d6d705e40 (patch) | |
tree | bfb62aa73647b9e0dea416c9055ba5d5f7302dd7 /library/cpp/json/writer | |
parent | 75494e834356f7a748c7193ccb6a5aa4dc981f4f (diff) | |
download | ydb-bf6bd1f317019d83a3f8d5d39c2d0e9d6d705e40.tar.gz |
Restoring authorship annotation for <muzich@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/writer')
-rw-r--r-- | library/cpp/json/writer/json_value.cpp | 4 | ||||
-rw-r--r-- | library/cpp/json/writer/json_value.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/json/writer/json_value.cpp b/library/cpp/json/writer/json_value.cpp index c61e8d1dc4..7862f4bfa3 100644 --- a/library/cpp/json/writer/json_value.cpp +++ b/library/cpp/json/writer/json_value.cpp @@ -895,11 +895,11 @@ namespace NJson { if (Type == JSON_MAP) { for (auto&& i : *Value.Map) { - i.second.DoScan(!!path ? TString::Join(path, ".", i.first) : i.first, this, callback); + i.second.DoScan(!!path ? TString::Join(path, ".", i.first) : i.first, this, callback); } } else if (Type == JSON_ARRAY) { for (ui32 i = 0; i < Value.Array->size(); ++i) { - (*Value.Array)[i].DoScan(TString::Join(path, "[", ToString(i), "]"), this, callback); + (*Value.Array)[i].DoScan(TString::Join(path, "[", ToString(i), "]"), this, callback); } } } diff --git a/library/cpp/json/writer/json_value.h b/library/cpp/json/writer/json_value.h index 3f0f50bc4c..5c490c5805 100644 --- a/library/cpp/json/writer/json_value.h +++ b/library/cpp/json/writer/json_value.h @@ -26,7 +26,7 @@ namespace NJson { class IScanCallback { public: - virtual ~IScanCallback() = default; + virtual ~IScanCallback() = default; virtual bool Do(const TString& path, TJsonValue* parent, TJsonValue& value) = 0; }; |