seldonian.utils.io_utils.save_json

save_json(filename, data, indent=2, verbose=False)

A wrapper for saving an object to a JSON file

Parameters:
  • filename (str) – A filename where the JSON file will be saved

  • data (dict) – The JSON data to save.