toIni
fn
void toIni(var v, string filename, IniPolicy policy = IniPolicy.init)Serializes a var object to INI format and writes to a file.
Parameters
v | The var object to serialize. |
filename | The path to the file to write. |
policy | Configuration policy. |
fn
string toIni(var v, IniPolicy policy = IniPolicy.init)Serializes a var object to INI format.
Parameters
v | The var object to serialize. |
policy | Configuration policy. |
Returns
The INI string representation.