You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Mesnil (JIRA)" <ji...@apache.org> on 2011/07/06 08:58:17 UTC
[jira] [Commented] (AVRO-851) Unicode issue in JSON encoding from
Java
[ https://issues.apache.org/jira/browse/AVRO-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060325#comment-13060325 ]
Jeff Mesnil commented on AVRO-851:
----------------------------------
I've attached a patch that is ready for code review
> 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