On Jun 14, 2008, at 1:08 AM, Adam Barth wrote:

On Tue, Feb 12, 2008 at 5:57 PM, Ian Hickson <[EMAIL PROTECTED]> wrote:
Passing objects, or arrays of strings, arrays, or objects, is more
complex, but as you point out, it can be done using JSON libraries. Since it is likely that JSON will be supported natively by UAs in due course, it seems better to wait for that support rather than adding type support to
postMessage().

HTML 5 should expose a native JSON parser for web content.

Native JSON parsing is being considered for the next versions of ECMAScript (the 3.1 and 4 versions). It seems like a better fit there than in HTML5. If it ends up not being added to ECMAScript, I would propose it as a standalone spec for the W3C Web Apps WG.

 - Maciej

Reply via email to