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

Add pretty print property to AtttributesToJson processor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.25.0, 2.0.0-M2
    • None

    Description

      Both processor JoltTransformJSON and controller service JsonRecordSetWriter have properties which allow users to choose whether to pretty print the resulting JSON. The AttributesToJSON processor should be no different. Although, this option should only be available when the Destination is 'flowfile-content' as presumably the contents of the flowfile will be written out somewhere where an end user could see the contents. 

      Attachments

        Issue Links

          Activity

            People

              dstiegli1 Daniel Stieglitz
              dstiegli1 Daniel Stieglitz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h