avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharmarke Aden (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1201) CLONE - GenericRecord.toString can produce invalid JSON
Date Fri, 09 Nov 2012 16:00:13 GMT
Sharmarke Aden created AVRO-1201:
------------------------------------

             Summary: CLONE - 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.4.1
            Reporter: Sharmarke Aden
            Assignee: Jay Kreps
             Fix For: 1.5.0


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

Mime
View raw message