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

ASF subversion and git services commented on NIFI-4962:
-------------------------------------------------------

Commit 37ad48844a61e7cecaf5650f2d3a4d6f02483d99 in nifi's branch 
refs/heads/master from [~Deon]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=37ad488 ]

NIFI-4962 FlattenJson processor add unexpected backslash after flatten

Signed-off-by: Pierre Villard <pierre.villard...@gmail.com>

This closes #2538.


> 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