[
https://issues.apache.org/jira/browse/NIFI-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979316#comment-14979316
]
Jeremy Dyer commented on NIFI-1079:
-----------------------------------
Aldrin good point I'll make sure the names are the same. I'm also going to add
a property for allowing CoreAttributes in the output or not. Sometimes the
CoreAttributes may not be desired if your using default (writes every available
attribute in my implementation) but trying to write to Solr or some external
system that isn't expecting them.
> Support AttributesToJSON processor
> ----------------------------------
>
> Key: NIFI-1079
> URL: https://issues.apache.org/jira/browse/NIFI-1079
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Randy Gelhausen
> Labels: beginner
>
> Add a standard processor for creating a new attribute on a Flowfile which is
> the JSON representation of all (default) or a user-defined list of attributes.
> Flowfile:
> foo: bar
> content: sometext
> AttributesToJSON output:
> foo: bar
> content: sometext
> JSON: {foo: 'bar', content: 'sometext'}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)