summaryrefslogtreecommitdiffstats
path: root/library/cpp/json/yson/json2yson.cpp
diff options
context:
space:
mode:
authornae202 <[email protected]>2025-09-23 07:48:35 +0300
committernae202 <[email protected]>2025-09-23 08:03:21 +0300
commit63774bc851bb76e24f369ef4e0328e5f05edbb4b (patch)
treed3226ed9a5f200097949f6001a7e3183aff7adfa /library/cpp/json/yson/json2yson.cpp
parentf4cbf746a0b6649479cfb305eceababced0ac10a (diff)
Style fix
commit_hash:d506e2a0f2770f3662449a3711e976499eb9ccbb
Diffstat (limited to 'library/cpp/json/yson/json2yson.cpp')
-rw-r--r--library/cpp/json/yson/json2yson.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/cpp/json/yson/json2yson.cpp b/library/cpp/json/yson/json2yson.cpp
index f72cb7a9ef9..400e46466b7 100644
--- a/library/cpp/json/yson/json2yson.cpp
+++ b/library/cpp/json/yson/json2yson.cpp
@@ -29,8 +29,9 @@ namespace NJson2Yson {
case NJson::JSON_ARRAY: {
adapter->OnOpenArray();
const NJson::TJsonValue::TArray& arr = jsonValue.GetArray();
- for (const auto& it : arr)
+ for (const auto& it : arr) {
WriteJsonValue(it, adapter);
+ }
adapter->OnCloseArray();
break;
}
@@ -105,4 +106,4 @@ namespace NJson2Yson {
ConvertYson2Json(yson, &outputStream);
return json;
}
-}
+} // namespace NJson2Yson