DDS Consolidated JSON Syntax Avatar
  1. OMG Specification

DDS Consolidated JSON Syntax — All Issues

  • Acronym: DDS-JSON
  • Issues Count: 3
  • Description: All Issues
Open Closed All
All Issues

Issues Descriptions

Validation errors in JSON Schemas

  • Status: open  
  • Source: Real-Time Innovations ( Mr. Fernando Garcia-Aranda)
  • Summary:

    Some JSON schemas contain lack certain restrictions that are enforced in strict validations.

  • Reported: DDS-JSON 1.0 — Fri, 30 Aug 2024 11:58 GMT
  • Updated: Fri, 30 Aug 2024 11:58 GMT

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

Handling Unsupported Numeric Values like Infinity and NaN

  • Key: DDSJSON-1
  • Status: closed  
  • Source: Real-Time Innovations ( Mr. Fernando Garcia-Aranda)
  • Summary:

    As stated in ECMA-404, JSON does not provide native representation for values like "Infinity", "-Infinity", and "NaN":

    Numeric values that cannot be represented as sequences of digits (such as Infinity and NaN) are not permitted.

    However, these are values that need to be handled by a JSON encoder and decoder. Therefore, we should provide a standard representation for such values so that all implementations of DDS-JSON can follow the same approach.

  • Reported: DDS-JSON 1.0a1 — Tue, 25 Feb 2020 11:55 GMT
  • Disposition: Resolved — DDS-JSON 1.0
  • Disposition Summary:

    Define mapping of numeric values that cannot be represented as digit sequences

    This resolution provides a mapping for numeric values (such as "Infinity", "-Infinity", and "Nan") that cannot be represented as digit sequences and are therefore invalid JSON according to [ECMA-404].

  • Updated: Fri, 18 Sep 2020 17:03 GMT