parseJSON bug

Tofu Ninja emmons0 at purdue.edu
Thu Aug 8 05:44:02 PDT 2013


On Thursday, 8 August 2013 at 12:08:00 UTC, khurshid wrote:
>
> std.json  parseJSON has a bug,
>
> //                         leading whitespaces
> auto json = parseJSON("1                                  
> .000");
>
> -- should throws, but it's success parsed as `1.000` .
>
>
> Khurshid...

I don't think this is a bug, the json spec seems to indicate that 
this is valid.


More information about the Digitalmars-d mailing list