Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem