Skip to main content
Converts fields in source data to their declared types.

Input

FieldDescriptionTypeRequired
dataSourceReference to the source data to cast.stringYes
fieldsDefinitions of the fields to cast.arrayNo

Output

FieldDescriptionTypeRequired
dataThe source data with fields cast to their target types.anyYes