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

Allow user to "clean up" unions into more conventional dicts in json encoding

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.7
    • None
    • python
    • None

    Description

      In Avro's JSON encoding, unions are implemented in a tagged fashion; walking through this data structure is somewhat cumbersome. It would be good to have a way of "decoding" this tagged-union data structure into a more conventional dict where the union element is directly present without the tag.

      Attachments

        1. avro-1618.1.patch
          10 kB
          Aaron Kimball

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kimballa Aaron Kimball
            kimballa Aaron Kimball

            Dates

              Created:
              Updated:

              Slack

                Issue deployment