Douglas Crockford wrote:
I think the hazard is very real and very serious.
I don't see any additional expressiveness enabled by toJSONString.

This is a convenience issue. Having toJSONString as a builtin is a convenience, removing the need to load json.js.

How is toJSONString() any different from toSource()?

http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object:toSource

--
Lachlan Hunt
http://lachy.id.au/

Reply via email to