Can we convert CSV to JSON using Apache Nifi? How to draw a normal flow diagram?
Can we convert CSV to JSON using Apache Nifi? What to do if we have to draw a normal flow diagram. can somebody provide properties and figure details.
our assumption is 4 block has to be there. 1.GenerateFLow 2.ConverttoAvro 3.Converttojson 4.Savethefile.
Our CSV Files Data is.
"name","rank","priority"
"maruti",4,2
"hyundai",6,10
"toyota",7,4
"tata",7,22
My Json
[
{
"name": "maruti",
"rank": 3,
"priority": 2
},
{
"name": "hyundai",
"rank": 6,
"priority": 10
},
{
"name": "toyota",
"rank": 7,
"priority": 4
},
{
"name": "tata",
"rank": 7,
"priority": 22
}
]