[Issue 14399] std.json cannot parse its own output for nan

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 3 04:22:59 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14399

bb.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bb.temp at gmx.com

--- Comment #1 from bb.temp at gmx.com ---
according to this discussion, it seems that the problem appends when the value
is written: "null" should be written instead of "nan":

http://tools.ietf.org/html/rfc4627

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



(https://code.google.com/p/go/issues/detail?id=3480)

--


More information about the Digitalmars-d-bugs mailing list