Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1396

Add JSON pretty option for tojson in avro-tools

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.5
    • Fix Version/s: 1.7.6
    • Component/s: java
    • Labels:
      None

      Description

      It would be useful for the "tojson" Avro tool to optionally output pretty printed JSON making it more human readable when necessary. The reverse "fromjson" would still be able to work.

      avro-tools tojson -pretty file.avro

        Attachments

        1. AVRO-1396.patch
          3 kB
          Rob Turner
        2. AVRO-1396.patch
          18 kB
          Doug Cutting

          Activity

            People

            • Assignee:
              robair Rob Turner
              Reporter:
              robair Rob Turner
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: