I have a json array which looks like
{ [{ "name": "ABCDEF", "details": { "code": null, "description": null, "range": { "fromNo": "00174", "toNo": "99999" } } }, { "name": "ABCDEF", "details": { "code": null, "description": null, "range": { "fromSerialNo": "00001", "toSerialNo": "00060" },
{
"name": "ABCDEF",
"details": {
"code": null,
"description": null,
"range": {
"fromSerialNo": "00061",
"toSerialNo": "00173"
}]
}
and I want the output as { "name": "ABCDEF", "details": { "code": null, "description": null, "range": { "fromSerialNo": "00001", "toSerialNo": "99999"
}
But the problem is I caot put the variable in EvaluateJsonPath as it does not accept nifi expression language. I have to loop through all the values and then get final range. Does anyone know if this can be done in nifi.
