[
https://issues.apache.org/jira/browse/AVRO-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810902#comment-16810902
]
Hudson commented on AVRO-1275:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #641 (See
[https://builds.apache.org/job/AvroJava/641/])
[AVRO-1275] Generate "bytes" JSON per spec (dkulp:
[https://github.com/apache/avro/commit/df9ce91231d26655ea1fc11ece5132b389fdf860])
* (edit) lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
* (edit)
lang/java/avro/src/test/java/org/apache/avro/generic/TestGenericData.java
> 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
> Assignee: Daniel Kulp
> 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)