August 08, 2013 [Issue 10776] New: std.json parseJSON has a bug. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10776 Summary: std.json parseJSON has a bug. Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: khurshid.normuradov@gmail.com --- Comment #0 from khurshid <khurshid.normuradov@gmail.com> 2013-08-08 06:03:13 PDT --- I think that, this code must be throw, but it's success run. import std.json; import std.stdio : writeln; void main() { ////////////////////////// leading spaces doesn't skip between 1 and E. auto json = parseJSON(`{ "throwable_one" : 1 .E +1 }`); writeln( toJSON(&json) ); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 17, 2013 [Issue 10776] std.json parseJSON has a bug. | ||||
---|---|---|---|---|
| ||||
Posted in reply to khurshid | http://d.puremagic.com/issues/show_bug.cgi?id=10776 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh@quickfur.ath.cx --- Comment #1 from hsteoh@quickfur.ath.cx 2013-08-17 09:47:56 PDT --- This violates RFC 4627 (http://www.ietf.org/rfc/rfc4627.txt), so it's definitely a bug in std.json. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation