[
https://issues.apache.org/jira/browse/AVRO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvalluvan M. G. reassigned AVRO-90:
---------------------------------------
Assignee: Thiruvalluvan M. G. (was: Doug Cutting)
> 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.0.1
> Reporter: Doug Cutting
> Assignee: Thiruvalluvan M. G.
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.