Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    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 )

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


Container.RenameStream   -   Container.WriteArchive

Feedback: Report problem or ask question.




Links
MBS Xojo blog