Extracts data from a JavaScript Object Notation file.
$etl->extract('json', 'path/to/file.json', $options);
Columns that will be extracted. If null
, the first level key/value pairs of the object in each iteration will be used.
$options = ['columns' => [
'id' => '$..bindings[*].id.value',
'name' => '$..bindings[*].name.value',
]];