The next flow file is an InvoqueHTTP response:
[
{
"name": "Rolf",
"sur_name": "ramsfl"
},
{
"name": "Jose",
"sur_name": "maxim"
},
{
"name": "Andrei",
"sur_name": "alexo"
}
]
I wanted to use JoltTransformation instead of (ReplaceText to find the "_" and change it by emptystring) ReplaceText is not the needed solution.
I created this JoltTransformation:
[
{
"operation": "shift",
"spec": {
"name":"name",
"sur_name":"surname"
}
}
]
This jolttransformation solves the problem well but if the flowfile is splitted , if i pass it as it is it gives null.