You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Aaron Kimball (JIRA)" <ji...@apache.org> on 2014/12/09 03:28:12 UTC
[jira] [Updated] (AVRO-1618) Allow user to "clean up" unions into
more conventional dicts in json encoding
[ https://issues.apache.org/jira/browse/AVRO-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron Kimball updated AVRO-1618:
--------------------------------
Status: Patch Available (was: Open)
> Allow user to "clean up" unions into more conventional dicts in json encoding
> -----------------------------------------------------------------------------
>
> Key: AVRO-1618
> URL: https://issues.apache.org/jira/browse/AVRO-1618
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.7.7
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> Attachments: avro-1618.1.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)