Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

List.Deserialize

Restores a serialized list.

Component Version macOS Windows Linux Server iOS SDK
List 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.Deserialize"; Text { ; NoReturnEnding } )   More

Parameters

Parameter Description Example Flags
Text The serialized data as text.
NoReturnEnding Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists. 1 Optional

Result

Returns list or error.

Description

Restores a serialized list.

Examples

Save and restore a list:

Set Variable [$list; Value:"Hello¶World¶1234¶Just a test!"]
Set Variable [$text; Value:MBS("List.Serialize"; $list)]
Show Custom Dialog ["List"; "Encoded: " & $text & ¶ & ¶ & "Decoded: " & MBS("List.Deserialize"; $text)]

See also

Blog Entries

This function checks for a license.

Created 6th July 2015, last changed 27th September 2017


List.DeCombine - List.Find