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

toString implementation on avro objects emits confusing json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.10.1
    • None
    • java
    • None

    Description

      toString() for both specific and generic records emits what looks to be avro json format, but isnt.

       

      its close enough for new users to try using toString() output where avro json is expected.

       

      it would be better if the toString() implementation was changed to use a proper JsonEncoder so that the output would actually be valid avro json. it would also result in less code overall

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              radai Radai Rosenblatt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: