Hello all. I have an array of arrays like the one below and I would like to subtract the second object in the inner arrays from the first
[
[
1675324800000,
1675324680000
],
[
1675324980000,
1675324800000
],
[
1675324800000,
1675324860000
],
[
1675324980000,
1675324860000
]
]
I can't get the jsonata to work here. I've tried wildcards in different ways and have found that
*[1]-*[0]
gives me the result for the first inner array. However, I've not been able to have it go through the whole array of arrays.
Would appreciate some help!