load
- negmas.serialization.load(file_name: str | PathLike | Path) Any[source]
Loads an object depending on the extension of the file given. If the filename given has no extension,
DEFAULT_DUMP_EXTENSIONwill be used.- Parameters:
file_name – file name
Remarks:
Supported formats are json, yaml
If None is given, the file will be created but will be empty