Updates:
        Status: Fixed

Comment #2 on issue 1350 by [email protected]: JSON parser eats whitespaces from inside the values
http://code.google.com/p/v8/issues/detail?id=1350

It's a display problem in the console. If you enter:
 var v = JSON.parse("{\"key\":\"value     with      spaces\"}");
and then
 v
then you get the output you describe. However, if you then enter:
 v.key
you get the correctly formatted string with all the spaces. I.e., the spaces are there, it's just not displayed correctly.

The problem have been fixed in the developer channel release (12.0.742.9 dev).

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to