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/json_value.cpp | |
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/json_value.cpp')
-rw-r--r-- | library/cpp/json/writer/json_value.cpp | 4 |
1 files changed, 2 insertions, 2 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); } } } |