Member since
02-09-2022
1
Post
0
Kudos Received
0
Solutions
02-09-2022
07:20 AM
Hi I am looking to convert a json file in Nifi and have been playing around with a few processors like convert record. The below is json I am receiving - {
"report" : "file1.CSV",
"Report Date" : "2022-02-09 13.24.58",
"reject" : "0",
"total" : "7",
"processed" : "7"
} And needs to be converted to a text file in columnar/dictionary format though and should look like this - "report" | "file1.CSV"|
"Report Date" | "2022-02-09 13.24.58"|
"reject" | "0"|
"total" | "7"|
"processed" | "7" Its quite straight forward to just replace the "," with "|" and remove the "{}" but I was wondering is there a way to write to a column based text file?
... View more
Labels:
- Labels:
-
Apache NiFi