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.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


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 )


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


Returns text or error.


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.


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.

MBS Xojo blog