aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/parsers/json_parser.py
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-06-21 11:12:26 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-06-21 11:12:26 -0500
commit2c293cc0ac6678253c6af8101ba93866785f64c0 (patch)
tree04e74630e02fadac0bdcbe15d51975a1fe0197b6 /config_file/parsers/json_parser.py
parentUse lowercase action name (diff)
downloadconfig-file-2c293cc0ac6678253c6af8101ba93866785f64c0.zip
WIP for refactoring tests
Diffstat (limited to 'config_file/parsers/json_parser.py')
-rw-r--r--config_file/parsers/json_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/config_file/parsers/json_parser.py b/config_file/parsers/json_parser.py
index 10d5afc..584a2d0 100644
--- a/config_file/parsers/json_parser.py
+++ b/config_file/parsers/json_parser.py
@@ -124,7 +124,7 @@ class JsonParser(BaseParser):
return True
def stringify(self) -> str:
- return json.dumps(self.parsed_content)
+ return json.dumps(self.parsed_content, indent=4)
def has(self, search_key: str) -> bool:
return get_occurrence_of_key(self.parsed_content, key=search_key) > 0