[ 
https://issues.apache.org/jira/browse/NIFI-13180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844731#comment-17844731
 ] 

Daniel Stieglitz edited comment on NIFI-13180 at 5/8/24 6:04 PM:
-----------------------------------------------------------------

[~andrewmlim] I had a similar issue with NIFI-12116 where I had discovered by 
default Jackson's ObjectMapper only parses the first object from multiline JSON 
(see discussion on the related PR 
[#7782|https://github.com/apache/nifi/pull/7782])
Also as aside, I am not sure what formatted multiline JSON should look like as 
each line its own document. If you format them without making them as part of 
an array it will not be legal JSON.



was (Author: JIRAUSER294662):
[~andrewmlim] I had a similar issue with NIFI-12116 where I had discovered by 
default Jackson's ObjectMapper only parses the first object from multiline JSON 
(see discussion on the related PR 
[#7782|https://github.com/apache/nifi/pull/7782]
Also as aside, I am not sure what formatted multiline JSON should look like as 
each line its own document. If you format them without making them as part of 
an array it will not be legal JSON.


> Content viewer does not display "json-lines" completely when view-as is set 
> to formatted
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-13180
>                 URL: https://issues.apache.org/jira/browse/NIFI-13180
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>            Reporter: Andrew M. Lim
>            Priority: Minor
>         Attachments: PDF-test.pdf, image-2024-05-07-19-06-19-292.png, 
> screenshot-1.png
>
>
> ParseDocument is a Python processor whose output is formatted as 
> "json-lines". When looking at the FlowFile contents in the content viewer 
> with view-as set to "original", multiple lines are displayed as expected:
>  !image-2024-05-07-19-06-19-292.png! 
> But, if view-as is set to "formatted", only one line is shown:
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to