I have a JSON
{
"name": "abc",
"age": 14,
"data": {
"course": "math",
"score": 90
}
}
I want to add a new key - value (year, 2019) at the end of this JSON. How can I achieve that in Nifi?
Desired output:
{
"name": "abc",
"age": 14,
"data": {
"course": "math",
"score": 90
},
"year": 2019
}