jade.utils.utils.dump_data

jade.utils.utils.dump_data(data, filename, **kwargs)[source]

Dump data to the filename. Supports JSON, TOML, YAML, or custom via kwargs.

Parameters:
  • data (dict) – data to dump

  • filename (str) – file to create or overwrite