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

    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

            People

              kimballa Aaron Kimball
              kimballa Aaron Kimball
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: