Understanding Instant JSON action types

Types

This section explains how to use type declarations in Instant JSON records.

The optional keys are specified as follows:

{ optionalKey?: value; }

To reduce payload size, omit optional keys when their values are undefined.

Action types

Only a subset of all possible annotation actions is supported. These can be triggered when clicking or pressing on a link annotation:

// Example of an Instant JSON payload for a `GoToAction` action:
{
"pageIndex": 0,
"type": "goTo"
}