-
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
DDSJSON — Handling Unsupported Numeric Values like Infinity and NaN
- Key: DDSJSON-1
- OMG Task Force: DDS Consolidated JSON Syntax (DDS-JSON) 1.0 FTF