1. OMG Mailing List
  2. DDS Consolidated JSON Synax (DDS-JSON) 1.1 RTF

Open Issues

  • Issues not resolved
  • Name: dds-json-rtf
  • Issues Count: 1

Issues Summary

Key Issue Reported Fixed Disposition Status
DDSJSON11-1 JSON Representation of Unions DDS-JSON 1.0 open

Issues Descriptions

JSON Representation of Unions

  • Status: open  
  • Source: Object Computing, Inc. - OCI ( Mr. Adam Mitz)
  • Summary:

    Some union values are "empty" in that they have no case selected. Since discriminators are optional, is the JSON representation of such a union equivalent to an empty struct?

    // IDL
    union U switch (boolean) {
    case TRUE:
      long i;
    };
    

    When a value of this union has discriminator FALSE, there is no selected case.

  • Reported: DDS-JSON 1.0 — Tue, 18 Jan 2022 21:18 GMT
  • Updated: Tue, 18 Jan 2022 21:18 GMT