avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-851) Unicode issue in JSON encoding from Java
Date Thu, 13 Sep 2012 20:09:08 GMT

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

Doug Cutting resolved AVRO-851.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.2

I committed this.

It took over a year to get this committed!  I'm not sure how it slipped through the cracks
for so long.  Mea culpa.  My apologies.
                
> Unicode issue in JSON encoding from Java
> ----------------------------------------
>
>                 Key: AVRO-851
>                 URL: https://issues.apache.org/jira/browse/AVRO-851
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.1
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>             Fix For: 1.7.2
>
>         Attachments: AVRO-851.patch
>
>
> There is an issue in Avro's java code when encoding a GenericData as JSON in GenericData#writeEscapedString().
> In the default clause, it must be the hexadecimal value of the character that must be
written and not the string itself, otherwise the built JSON string is not valid. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message