JSON File Update
Hi,
I have below JSON file with multiples image's details
{
"images": [{
"id": "C2934",
"ds_folder_id": "759838458734"
},
{
"id": "C8343",
"folder_id": "3942879137986"
}]
}.
I have id of the image and have to update the folder_id with some value.
For Example:
id is C8343 and the new folder_id is 2984584735
then I have to update folder_id of the JSON file with new one.
New JSON would be
{
"images": [{
"id": "C2934",
"ds_folder_id": "759838458734"
},
{
"id": "C8343",
"folder_id": "2984584735"
}]
}.
Please help me to perform above in NiFi.

