[quote="janvda, post:18, topic:28615, full:true"]
I have got feedback for the issue.
In summary: JSONata expects JSON as input and as a sparse array
is not proper JSON so its behaviour is undefined - which all makes sense to me.
I would like to suggest that is a failing of the underlying library. Of course, also compounded by the other inconsistencies you've found on the JSONata/Node-RED side.
I am pretty happy with the excel node ( I was actually amazed that it worked so well). Note that returning an array of objects instead of an array of arrays would also complicate my processing (jsonata is very powerful when dealing with arrays).
For me I am happy to live with the work around =
- filling the gaps in sparse arrays by running it through 2
json
nodes before feeding it into a change node with jsonata expressions.