Skip to main content

Function: serializeActionCall()

function serializeActionCall(actionCall, targetRoot?): SerializedActionCall;

Ensures that an action call is serializable by mapping the action arguments into its serializable version by using serializeActionCallArgument.

Parameters​

ParameterTypeDescription
actionCallActionCallAction call to convert.
targetRoot?objectTarget root node of the model where this action is being performed.

Returns​

SerializedActionCall

The serializable action call.

Deprecated​

Use serializer.encodeCall(root, call) instead (e.g. with defaultSerializer).