You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2018/03/13 21:38:00 UTC

[jira] [Resolved] (NIFI-4962) FlattenJson processor add unexpected backslash after flatten

     [ https://issues.apache.org/jira/browse/NIFI-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-4962.
----------------------------------
    Resolution: Fixed

> 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)