Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

Container.Serialize

Serialized a container as a text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 5.2 Yes Yes Yes Yes Yes
MBS( "Container.Serialize"; Container )   More

Parameters

Parameter Description Example value
Container The container field or value to serialize.

Result

Returns text or error.

Description

Serialized a container as a text.
The container content is stored in a base64 encoded string which the plugin function Container.Deserialize can read.
Does not work with external containers.
Using this function allows to store a container in a text field or transmit it with Socket functions, SerialPort functions or by writing it to a file.

Examples

Serialize to a text field and deseralize back:

Set Field [ myTable::TextField ; MBS("Container.Serialize"; myTable::FirstContainerField) ]
Set Field [ myTable::OtherContainerField ; MBS("Container.Deserialize"; myTable::TextField) ]

See also

Blog Entries

Created 6th July 2015, last changed 21st October 2017


Container.RenameStream   -   Container.WriteArchive

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos