Caplin Trader 5.1.0

Interface: module:ct-core/Serializable

module:ct-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