standard.lang.serialize.SerializeObject

SerializeObject is available since version 1.0.

Prototype:

null-returned SerializeObject(object object_to_serialize, string filename="-", encoding="UTF-8");

Parameters

object_to_serialize
a class object to be serialized
filename
the filename in which to save the object
encoding
the encoding to be used for the filename

Description:

Serializes an object into a XML file. It's recommended to avoid this low-level API, and use the {RSerializable} class instead.

Return value:

Returns null.