Serializes a table of parameters. Results in a string suitable for feeding directly into loadstring(). Deals properly with table cycles and non-tree structures.
| serialized = Utility.Serialize.Full(elements) | |||
| serialized = Utility.Serialize.Full(elements, exists) | |||
| Parameter | Type | Datatype | Description |
|---|---|---|---|
| elements | parameter | table | Table of elements to serialize. |
| exists | parameter | table | Optional parameter containing a table of elements that should be included even in the case that they are nil. |
| serialized | result | string | String containing serialized output. May be nil if there was an error with the input. |