[
https://issues.apache.org/jira/browse/AVRO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860702#comment-15860702
]
ASF GitHub Bot commented on AVRO-90:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/avro/pull/126
> json encoding does not encode unions correctly
> ----------------------------------------------
>
> Key: AVRO-90
> URL: https://issues.apache.org/jira/browse/AVRO-90
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.1.0
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.1.0
>
> Attachments: AVRO-90.patch
>
>
> The Json encoding implemented in Java does not encode unions as intended. In
> particular:
> - branches are labeled with their Java type enum name (all caps) rather
> than their Json type name (lowercase)
> - branches for named types (records, enums, fixed) are labeled with the
> type rather than the name
> - nulls are labelled -- a null value for a union should be untagged
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)