Tasks
Parse Data File
Parses a data file and saves the contents to the stub's data. The file has to be uploaded to Stubber using a file field or other means before it can be parsed. Only .csv
and .json
files can be parsed.
Basic usage
Parameters
fileuuid
required
string
The uuid of the file to be parsed.
fieldname
required
string
The data path to which the contents of the parsed file will be saved.
Result
Properties
fieldname
string
The data path to which the contents of the parsed file was saved.
Examples
Parse to a nested data path
Parses a file and saves the results in stub.data.results.json
.