Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4404

escapeJson doesn't escape double-quote ans and invalid json are created

    XMLWordPrintableJSON

    Details

      Description

      If in a adatabase I have a string: Hi, "Nifi" team.
      the injected value $myVar:escapeJson() produce: Hi, "Nifi" team.
      Inside my JSON flow:

      { " content" : "Hi, "Nifi" team."}

      which is incorrect.
      Probably to link to https://issues.apache.org/jira/browse/NIFI-3303

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jlvila Jean-Louis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: