Avro
  1. Avro
  2. AVRO-265

Protocol namespace always written out in toJson

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development