[ 
https://issues.apache.org/jira/browse/AVRO-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810841#comment-16810841
 ] 

ASF subversion and git services commented on AVRO-1275:
-------------------------------------------------------

Commit df9ce91231d26655ea1fc11ece5132b389fdf860 in avro's branch 
refs/heads/master from Daniel Kulp
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=df9ce91 ]

[AVRO-1275] Generate "bytes" JSON per spec


> 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: Apache Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Tom White
>            Priority: Major
>             Fix For: 1.9.0
>
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to