Caplin Trader 4.7.1

Interface: module:caplin/core/Serializable

module:caplin/core/Serializable

The interface that must be implemented by any class that wishes to provide serialization.

Methods

getSerializedState(indentopt) → {String}

Gets the serialized representation of an object that will be used to persist its state.
Parameters:
Name Type Attributes Description
indent String <optional>
A formatting string that can be used to make the returned serialized form human readable. e.g. '\t' or ' '
Returns:
The serialized representation of the calling object.
Type
String