docs: def save_jsonf(data: Union[list, dict], fpath: str, encoding: str, indent=None) -> str:
      """
      :param data: list | dict data
      :param fpath: write path
      :param encoding: encoding
      :param indent:
      :rtype: written path
      """
      with codecs.open(fpath, mode='w', encoding=encoding) as f:
          f.write(dump_json(data, indent))
          return fpath