Utility.Serialize.Inline

Serializes a single parameter. Results in a string suitable for use as a parameter in Lua code. If the input is a table, it must not contain table cycles or non-tree structures.

Usage:

serialized = Utility.Serialize.Inline(element)
ParameterTypeDatatypeDescription
elementparametervariantElement to serialize.
serializedresultstringString containing serialized output. May be nil if there was an error with the input.