avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1275) GenericData's toString() method generates the wrong JSON encoding for the bytes type
Date Mon, 18 Mar 2013 14:22:15 GMT
Tom White created AVRO-1275:
-------------------------------

             Summary: GenericData's toString() method generates the wrong JSON encoding for
the bytes type
                 Key: AVRO-1275
                 URL: https://issues.apache.org/jira/browse/AVRO-1275
             Project: Avro
          Issue Type: Bug
          Components: java
            Reporter: Tom White


We discovered in AVRO-1274 that for bytes GenericData.toString(Object datum) incorrectly generates


{noformat}
{ "bytes" : "A" }
{noformat}

rather than just {{"A"}} for the JSON encoding defined in the spec (http://avro.apache.org/docs/current/spec.html#json_encoding).

--
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