You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2012/11/21 23:30:58 UTC
[jira] [Updated] (AVRO-1201) GenericRecord.toString can produce
invalid JSON
[ https://issues.apache.org/jira/browse/AVRO-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-1201:
-------------------------------
Summary: GenericRecord.toString can produce invalid JSON (was: CLONE - GenericRecord.toString can produce invalid JSON)
> GenericRecord.toString can produce invalid JSON
> -----------------------------------------------
>
> Key: AVRO-1201
> URL: https://issues.apache.org/jira/browse/AVRO-1201
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.2
> Reporter: Sharmarke Aden
> Assignee: Sharmarke Aden
> Fix For: 1.7.3
>
> Attachments: avro-1201.patch, avro-1201.patch, Avro-1201-TestCase.tar.gz, vcs-diff4833874908267370412.patch
>
>
> The GenericData.toString method can produce invalid JSON. The problem is that enums are printed without quotes, as in
> {"emum_field":a}
> instead of
> {"enum_field":"a"}
--
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