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

ASF GitHub Bot commented on NIFI-4962:
--------------------------------------

Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/2538
  
    +1
    took care of the checkstyle issue and merged to master, thanks @yjhyjhyjh0 


> FlattenJson processor add unexpected backslash after flatten
> ------------------------------------------------------------
>
>                 Key: NIFI-4962
>                 URL: https://issues.apache.org/jira/browse/NIFI-4962
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.5.0
>            Reporter: Deon Huang
>            Assignee: Deon Huang
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: 34BFD277-F8FA-4ACE-BE1F-536B0BD6D10A.png, 
> 35E5F7FD-DD79-4556-8BF0-021EEF948520.png, 
> CEECDC79-7CA2-468C-A057-7A3264EB46BB.png
>
>
> Flatten Json will unexpectedly prefix slash with a backslash.
> This cause data miss match problem after flatten when json value contains url 
> or other slash character.
> Detail example are in the attachments.
>  
> Input, output example
> {"col3":["http://localhost:8080/nifi31","http://localhost:8080/nifi32"]}
> after flatten-
> {"col3":["http:\/\/localhost:8080\/nifi31","http:\/\/localhost:8080\/nifi32"]}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to