nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Klempa <michal.kle...@gmail.com>
Subject Re: nifi processor to parse+update the current json on the fly
Date Fri, 08 Apr 2016 19:28:10 GMT
To my view, we are missing processor which would alter existing JSON
with some attributes (not AttributesToJSON, which replaces the content
as a whole). Something like AttributesDecorateJSON.
Or, as your need is - something like JSONReplace processor, which
would follow predefined replacement rules.

On Fri, Apr 8, 2016 at 7:53 AM,  <philippe.gibert@orange.com> wrote:
> Hello thx Thad , joe , all
>
> For different answers.
>
> I understand how to  know….
>
> Philippe
>
> Best regards
>
>
>
> De : Thad Guidry [mailto:thadguidry@gmail.com]
> Envoyé : jeudi 7 avril 2016 17:32
> À : users@nifi.apache.org
> Objet : Re: nifi processor to parse+update the current json on the fly
>
>
>
> Philippe,
>
> I would encourage you to just use Groovy with JsonSlurper in the
> ExecuteScript processor.  Its a blazing fast parser actually.
>
> http://groovy-lang.org/json.html
>
> http://docs.groovy-lang.org/latest/html/gapi/groovy/json/JsonSlurper.html
>
>
> Thad
>
> +ThadGuidry
>
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu
> ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.

Mime
View raw message