MIST basicSerialize
From DCS World Wiki - Hoggitworld.com
mist.utils.basicSerialize
Added with: Mist 1.0 |
Description |
Returns tostring(val), unless val is nil or a string. In the case of nil, it returns an empty string (this will PROBABLY be changed to return ‘nil’ in future versions). In the case val is a string, it
returns string.format('%q', s). |
Syntax |
string mist.utils.basicSerialize(value val ) |
Valid Input Values: |
any non-string value |
Return value: |
string |
Return example: |
Usage Examples: |
|
Notes: |
Related Functions |
deepCopy, dostring, basicSerialize, serialize, serializeWithCycles, oneLineSerialize, tableShow |