avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-265) Protocol namespace always written out in toJson
Date Tue, 29 Dec 2009 22:19:29 GMT

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

Doug Cutting commented on AVRO-265:
-----------------------------------

My preference might be to make namespaces required.  Is that too onerous?

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


Mime
View raw message