From 5ad5717677505e803eb1279806f966b9b8be9a03 Mon Sep 17 00:00:00 2001 From: Yuriy Jurayev Date: Tue, 22 Jun 2021 00:38:20 +0200 Subject: [PATCH] Test code guru --- app/src/converter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/converter.py b/app/src/converter.py index abb6d42..8defb48 100644 --- a/app/src/converter.py +++ b/app/src/converter.py @@ -12,6 +12,7 @@ def xml_to_json(xml: str, rules: dict) -> str: raw_dict = xmltodict.parse(xml, process_namespaces=True, namespaces=namespaces) dictionary = convert(raw_dict, rules) json_string = json.dumps(dictionary, indent=4) + return json_string