serialize [function]
serialize( var, int mode = 2 )
Converts the variable to a byte buffer (string), containing the serialized data that can be recreated with unserialize() or returns null and emits a warning on failure
- C functions and objects without OP_SERIALIZE implemented cannot be serialized
data = serialize({ name = "A", info = "B" }); print data; // prints random-looking, yet deterministic garbage print unserialize(data); // prints {name=A,info=B}