Input
- v2
| Field | Description | Type | Required |
|---|---|---|---|
dataSource | Reference to the source data to cast. A source that resolves to undefined, null, an empty string, 0 or false outputs an empty list in a list action or a foreach step, and an empty object otherwise. | string | Yes |
fields | Definitions of the fields to cast. When omitted, the source data passes through unchanged unless it resolves to undefined, null, an empty string, 0 or false. | array | No |
Output
- v2
| Field | Description | Type | Required |
|---|---|---|---|
data | The source data with fields cast to their target types. | any | Yes |