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

Add JSON pretty option for tojson in avro-tools

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.5
    • 1.7.6
    • java
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: