def load_config(self, import_json):
        """Load settings dict from import_json (path/filename.json) JSON-file."""

        with open(import_json, 'r') as fp:
            settings = json.load(fp)

        for key, value in settings.items():
            self.settings[key] = value
Load settings dict from import_json (path/filename.json) JSON-file.
adbench/baseline/DeepSAD/src/utils/config.py