Index | | | Related pages | | | Classes | | | Functions | | | Entities | | | Function Sets | | | Groups |
Function used to store items persistently. more...
Serialization functions allow to flatten a Falcon item, or a sequence of items, on a stream for later retrieval, storage or transmission. At the moment, custom serialization is not supported. This means that all the basic items, as strings and numbers, plus arrays and dictionaries are supported. Objects are partially supported: when they are fully derived from Falcon classes, or declared as “object” by the scripts, the serialization and de-serialization are successful. However, there is no mechanism to support creation of user-specific data, as the “load” that objects can carry internally in behalf of embedding applications.
Nevertheless, if there is the need, objects may be serialized/deserialized with the provided functions, and after the de-serialization step, a custom mechanism may be used to re-create application specific data.
However, it is necessary that the deserializing application has access to the same classes that were used to create the serialized object.
Notice that also functions are correctly serialized and deserialized. Also, static block is not re-executed in case the function is re-entered after a de-serialization.
Index | | | Related pages | | | Classes | | | Functions | | | Entities | | | Function Sets | | | Groups |