def METHOD_NAME(self) -> None:
    with open(self.filename) as json_file:
        json_data = json.load(json_file)
        if not json_data or not isinstance(json_data, list):
            with ErrorHandler(mode=self.error_mode):
                raise InvalidJsonError(self.filename)
        self.parse_data(set(json_data[0].keys()), json_data)