avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Carey (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (AVRO-851) Unicode issue in JSON encoding from Java
Date Wed, 06 Jul 2011 16:57:16 GMT

    [ https://issues.apache.org/jira/browse/AVRO-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060684#comment-13060684
] 

Scott Carey edited comment on AVRO-851 at 7/6/11 4:56 PM:
----------------------------------------------------------

+1

Test reproduces error and patch fixes it.

      was (Author: scott_carey):
    +!  

Test reproduces error and patch fixes it.
  
> 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
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message