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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QuickList.Serialize
Serialized a list as a text.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| List | 5.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| ListRef | The reference to the list returned from QuickList.New function. | $List |
Result
Returns text or error.
Description
Serialized a list as a text.The dictionary content is stored in a base64 encoded string which the plugin function List.Deserialize and QuickList.Deserialize can read.
Using this function allows to store a list in a text field or transmit it with Socket functions, SerialPort functions or by writing it to a file.
Examples
Create and save a list to restore it:
Set Variable [$list; Value:MBS( "QuickList.New"; "Hello¶World¶1234¶Just a test!")]
Set Variable [$text; Value:MBS("QuickList.Serialize"; $list)]
Set Variable [$SecondList; Value:MBS("QuickList.Deserialize"; $text)]
Show Custom Dialog ["List"; "Encoded: " & $text & ¶ & ¶ & "Decoded: " & MBS("QuickList.GetList"; $secondList)]
Set Variable [$r; Value:MBS("QuickList.Free"; $list)]
Set Variable [$r; Value:MBS("QuickList.Free"; $secondList)]
See also
- List.Deserialize
- List.Serialize
- QuickList.Deserialize
- QuickList.Free
- QuickList.GetList
- QuickList.GetValue
- QuickList.New
- QuickList.SetValue
Blog Entries
Created 6th July 2015, last changed 1st August 2015
QuickList.Reverse - QuickList.SetList
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins