I have figured out that flattening an array of arrays can be accomplished by using the $reduce
function to iteratively apply the $append
function.
$reduce($, $append)
for this simple test case:
$reduce( [ [1,2], [], [3] ], $append)
Q: Are there other ways to flatten an array of arrays in JSONata?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…