Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-7197

JSON Output Step should pretty-print / format identation

    Details

    • Type: Improvement
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1 (4.1.0 GA Suite Release)
    • Fix Version/s: Backlog
    • Component/s: Step
    • Labels:
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Epic Link:

      Description

      Large JSON files in a single line are hard to read, and even most editors have difficulties opening a large file in one line.

      XML Output step also defaults to pretty-print output. (or at least a single line per row)

      1. PDI-7197_2.patch
        21 kB
        Hendy Irawan
      2. PDI-7197.patch
        19 kB
        Hendy Irawan

        Issue Links

          Activity

          Hide
          hendyirawan Hendy Irawan added a comment -
          • Switch from json-simple to Jackson
          • Enable pretty-print
          • Fix JSON output structure

          Incorporates bug fix of #PDI-7195.

          Show
          hendyirawan Hendy Irawan added a comment - Switch from json-simple to Jackson Enable pretty-print Fix JSON output structure Incorporates bug fix of # PDI-7195 .
          Hide
          hendyirawan Hendy Irawan added a comment -

          Updated patch that fixes NPE.

          Show
          hendyirawan Hendy Irawan added a comment - Updated patch that fixes NPE.

            People

            • Assignee:
              Unassigned
              Reporter:
              hendyirawan Hendy Irawan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: