JSON.stringify space parameter
Allen.Wirfs-Brock at microsoft.com
Wed Jun 3 16:05:27 PDT 2009
One hopefully final concern related to the JSON grammar:
As currently specified the space parameter to stringify can be a string. The length of the string is truncated to 10 characters but currently there are no restrictions on characters that make up the string. That means that stringify may generate a result which is not valid JSON Text and hence would produce a syntax error if passed to JSON.parse.
Is this acceptable?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es5-discuss