nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Kravzov <igork.ine...@gmail.com>
Subject Re: SplitJson configuration question
Date Wed, 11 May 2016 21:50:18 GMT
Thanks Matt. It worked.

On Wed, May 11, 2016 at 5:28 PM, Matt Burgess <mattyb149@gmail.com> wrote:

> I believe $.* should work to split at the root.
>
>
> > On May 11, 2016, at 5:23 PM, Igor Kravzov <igork.inexso@gmail.com>
> wrote:
> >
> > Looks like am missing something. How to configure SplitJson to split
> array like bellow to individual JSON files. Basically split on "root" of
> array.
> >
> > [{
> >   "id":1,
> >    "data":"data1"
> >    },
> >     {
> >       "id":2,
> >        "data":"data2"
> >     }
> > ]
> >
> > Result should be to separate files
> > {
> >   "id":1,
> >    "data":"data1"
> >    }
> >
> > {
> >   "id":2,
> >    "data":"data2"
> >    }
> >
> > Thanks in advance.
>

Mime
View raw message