import-from-json-file
Last updated
Last updated
import-from-json-file
adaptor imports data from a file in JSON format.
You can use the filter
parameter to slice, filter, map and transform structured data. This adaptor imports the JSON file into Data-flo to make it available to other adaptors for processing.
json
Type: file
Required: Yes
A file in JSON format.
filter
Type: text
Required: No
An optional .
data
Type: datatable
Data read from the file.
json:
person.json
filter:
null (empty)
data
:
-> Imported the json file person.json
into Data-flo.
json:
person.json
filter:
{name, email}
data
:
-> Filtered the json data to only get the name and email from the json file.
Enables users to import files in JSON format for further processing and transformation in Data-flo