Frank As Joe mentioned, we already have a set of direct Transformers for JSON, AVRO and CSV. You can see more details here https://issues.apache.org/jira/browse/NIFI-3354. What’s great about them is that they rely on external schema provider (i.e., Schema Registry) and we currently provide a simple Key/Value based registry as Controller Service and planning to provide more implementations of such service to work with variety of external stores. That said, you may be mentioning certain features which the current version of these processors are lacking and adding those features (if they provide a substantial value) is definitely something that we are looking for from the field, so please give it a look and follow up either here or on JIRA by requesting certain features and/or submitting PR for it.
Let us know what you think Cheers Oleg On Mar 3, 2017, at 12:02 PM, Joe Witt <[email protected]<mailto:[email protected]>> wrote: Frank There are a new set of conversion processors available on master if you can build that. If will allow you to do direct. They were in a PR from Oleg. Am on phone or else I'd find a good pointer. Thanks Joe On Mar 3, 2017 11:44 AM, "Frank Maritato" <[email protected]<mailto:[email protected]>> wrote: Hi All, Currently, if you have a CSV file and you want to convert it to JSON in Nifi, you need to do ConvertCSVToAvro->InferAvroSchema (or specify a static schema)->ConvertAvroToJSON. I have created a processor that goes directly from CSV to JSON. It will use the headers as field names if provided or you can specify the headers. It will also try to determine if the values are numeric or string. Is this something the community would find useful? If so, I can create a ticket and submit a PR. -- Frank Maritato Data Architect
