[
https://issues.apache.org/jira/browse/NIFI-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461526#comment-16461526
]
ASF subversion and git services commented on NIFI-4456:
-------------------------------------------------------
Commit 0289ca7114484e9d5295cb62e741d7793ed8c85c in nifi's branch
refs/heads/master from [~ca9mbu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=0289ca7 ]
NIFI-4456: Support multiple JSON objects in JSON record reader/writers
This closes #2640.
Signed-off-by: Mark Payne <[email protected]>
> Update JSON Record Reader / Writer to allow for 'json per line' format
> ----------------------------------------------------------------------
>
> Key: NIFI-4456
> URL: https://issues.apache.org/jira/browse/NIFI-4456
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.7.0
>
>
> It is common, especially for archiving purposes, to have many JSON objects
> combined with new-lines in between, in order to delimit the records. It would
> be useful to allow record readers and writers to support this, instead of
> requiring that JSON records being elements in a JSON Array.
> For example, the following JSON Is considered two records:
> {code}
> [
> { "greeting" : "hello", "id" : 1 },
> { "greeting" : "good-bye", "id" : 2 }
> ]
> {code}
> It would be beneficial to also support the format:
> {code}
> { "greeting" : "hello", "id" : 1 }
> { "greeting" : "good-bye", "id" : 2 }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)