How to lower case all JSON attributes in a flow file using Apache Nifi
I have a JSON text coming in a flowfile.
{
"_id":{
"_data":"8261DB7CD7000000362B022C0100296E5A1004B9491C697A7B45E1BCDF455EB59ABC6F46645F6964006461DB7CD7564AB600124193730004"
},
"operationType":"insert",
"clusterTime":{
"$timestamp":{
"t":1641774295,
"i":54
}
}
}
I would like to be able to replace all JSON attribute names with lowercased names.
Nifi is quite new to me. Can anyone please give a sample implementation?
Thank you very much.


