code: def save(self, path=None, fatal=True, logger=None, sort_keys=True, indent=2):
          
          path = path or getattr(self, "_path", None)
          if path:
              return save_json(self.to_dict(), path, fatal=fatal, logger=logger, sort_keys=sort_keys, indent=indent)
docs: :param str|None path: Save this serializable to file with 'path' (default: self._path)
          :param bool|None fatal: Abort execution on failure if True
          :param callable|None logger: Logger to use
          :param bool sort_keys: Sort keys
          :param int indent: Indentation to use