Difference between revisions of "MIST serialize"
From DCS World Wiki - Hoggitworld.com
(No difference)
|
Latest revision as of 23:11, 13 April 2018
mist.utils.serialize
Added with: Mist 1.0 |
Description |
Returns the string name = <serialized value> where <serialized value> is the value t serialized to a string. Typically, t will be a table. The resulting string has a very pleasing, readable look if displayed or output to a file. However, the function goes into an infinite loop if t contains cycles (cycles are tables that contain, somewhere within them, references to themselves), so be warned! |
Syntax |
string mist.utils.serialize(value val ,value t ) |
Valid Input Values: |
anything |
Return value: |
string |
Return example: |
Usage Examples: |
|
Notes: |
Related Functions |
deepCopy, dostring, basicSerialize, serialize, serializeWithCycles, oneLineSerialize, tableShow |