You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hammerbacher (JIRA)" <ji...@apache.org> on 2009/12/23 18:20:29 UTC

[jira] Commented: (AVRO-265) Protocol namespace always written out in toJson

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

Jeff Hammerbacher commented on AVRO-265:
----------------------------------------

FWIW, we don't write out namespace in Python if it's not set.

> Protocol namespace always written out in toJson
> -----------------------------------------------
>
>                 Key: AVRO-265
>                 URL: https://issues.apache.org/jira/browse/AVRO-265
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.2.0
>            Reporter: Todd Lipcon
>
> The javadoc for Protocol indicates that namespaces are optional. However, toJson() always prints it out. If no namespace is set, it generates "namespace": null in the JSON.
> Not sure whether namespaces are in fact required, or if it should just not output it when null.

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