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 2010/12/16 22:59:00 UTC

[jira] Resolved: (AVRO-713) GenericRecord.toString can produce invalid JSON

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

Doug Cutting resolved AVRO-713.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Jay Kreps
     Hadoop Flags: [Reviewed]

I committed this.  Thanks, Jay!

> GenericRecord.toString can produce invalid JSON
> -----------------------------------------------
>
>                 Key: AVRO-713
>                 URL: https://issues.apache.org/jira/browse/AVRO-713
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.4.1
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>             Fix For: 1.5.0
>
>         Attachments: avro-tostring-json-fix.diff
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.