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

Doug Cutting commented on AVRO-36:
----------------------------------

> So we stick to a JSON compliant scheme (base 64) for definition of default 
> values of a binary field

URL encoding would be just as JSON compliant.

> and use the hex bytes for data.

Binary data is not encoded, not with hex or otherwise.  It's just written as a 
sequence of 8-bit bytes.

> binary default values do not decode base64
> ------------------------------------------
>
>                 Key: AVRO-36
>                 URL: https://issues.apache.org/jira/browse/AVRO-36
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>
> The specification says that default values for binary data are base64 encoded 
> text, but the Java implementation uses the raw bytes of the textual value, 
> and does not perform base64 decoded as specified.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to