Can anyone guide me on how to append the values of inside a json array element in dataweave 2.0. InputJSON:
{
"0": [
{
"text": "Line0-1"
},
{
"text": "Line0-2"
}
],
"1": [
{
"text": "Line1-1"
},
{
"text": "Line1-2"
}
],
"2": [
{
"text": "Line2-1"
}
]
}
After appending it should be something like this:
((Line0-1 and Line0-2) or (Line1-1 and Line1-2) or Line2-1)