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:26:12 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14238880#comment-14238880 ]
Aaron Kimball commented on AVRO-1618:
-------------------------------------
Adding related issues.
> 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
>
> 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)