Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Container.Serialize
Serialized a container as a text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Container | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Container.Serialize"; Container ) More
Parameters
Parameter | Description | Example |
---|---|---|
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
This function checks for a license.
Created 6th July 2015, last changed 21st October 2017
