nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Witt <joe.w...@gmail.com>
Subject Re: ConvertCSVToJSON
Date Fri, 03 Mar 2017 17:02:40 GMT
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" <frank.maritato@lootcrate.com>
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
>

Mime
View raw message