[
https://issues.apache.org/jira/browse/AVRO-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oscar Westra van Holthe - Kind updated AVRO-265:
------------------------------------------------
Fix Version/s: 1.12.0
> Protocol namespace always written out in toJson
> -----------------------------------------------
>
> Key: AVRO-265
> URL: https://issues.apache.org/jira/browse/AVRO-265
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.2.0
> Reporter: Todd Lipcon
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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 was sent by Atlassian Jira
(v8.20.1#820001)