While we are able to extract JSON records which are arrayed at the top level in an JSON file we are not able to extract JSON records from an JSON API that has the records in an array in an (sub-)field. At the moment we can't extract or split the records. The JSON file received via the JSON-API is extracted as one record:
"https://imoox.at/mooc/local/moochubs/classes/webservice.php"
| open-http(accept="application/json")
| as-lines //as-records has the same result
| decode-json
...
Example for file:
https://imoox.at/mooc/local/moochubs/classes/webservice.php
In the field "data" there are the JSON records as objects. These objects should each be retrieved as single records.
Functional Review: @TobiasNx
Code Review: @dr0i