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

Enable JoltTransformJSON processor to have option to pretty print

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.8.0
    • Extensions
    • None

    Description

      It would be nice if a Nifi property could be set on the JoltTransformJSON processor to enable/disable pretty printing of the JSON output. (For performance reasons, I assume that some users might want it off.)

      Currently, the code uses the Jolt library's method JsonUtils.toJsonString(), but there's also a toPrettyJsonString() method that can be used.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ezs Elli Schwarz
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: