The serialisation package allows various object types to be converted to a string and back again.
serialisation.deserialise |
( |
var |
s | ) |
|
Deserialise a string into an object representation.
- Returns
- the instance of the object
- Note
serialisation.serialise |
( |
var |
obj, |
|
|
var |
includeFunctions |
|
) |
| |
Serialise an instance of any type of object to a string representation.
- Parameters
-
obj | - the instance of the object |
includeFunctions | - whether functions should be serialised as well |
- Returns
- the string representation of the object
- Note