[ 
https://issues.apache.org/jira/browse/AVRO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-90:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1
           Status: Resolved  (was: Patch Available)

I just committed this.

> 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: Doug Cutting
>             Fix For: 1.0.1
>
>         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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to