nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Maritato <frank.marit...@lootcrate.com>
Subject ConvertCSVToJSON
Date Fri, 03 Mar 2017 16:44:17 GMT
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

Mime
View raw message