aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/parsers/json_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'config_file/parsers/json_parser.py')
-rw-r--r--config_file/parsers/json_parser.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/config_file/parsers/json_parser.py b/config_file/parsers/json_parser.py
deleted file mode 100644
index 5314cd7..0000000
--- a/config_file/parsers/json_parser.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import json
-
-from .base_parser import BaseParser
-
-
-class JsonParser(BaseParser):
- def __init__(self, file_contents: str):
- super().__init__(
- file_contents=file_contents,
- module=json,
- decode_error=json.decoder.JSONDecodeError,
- )
-
- def stringify(self) -> str:
- return json.dumps(self.parsed_content, indent=4)