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
required string
fileuuid The uuid of the file to be parsed.
required string
fieldname The data path to which the contents of the parsed file will be saved.
Result
Properties
string
fieldname 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
.