std.json parsing real numbers.

khurshid khurshid.normuradov at gmail.com
Thu Aug 8 01:04:40 PDT 2013


I just check  std.json for parsing real numbers.

import std.json;
import std.stdio: writeln;

int main()
{
	auto json = parseJSON("1        .24E          +1");
	writeln(toJSON(&json));
	return 0;
}

and
output:  12.4


It's bug or normal ?


More information about the Digitalmars-d mailing list