Re: Can IndexedDB depend on JavaScript? (WAS: [Bug 9793] New: Allow dates and floating point numbers in keys)

On Mon, May 24, 2010 at 1:21 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> As for the keyPath issue. The way the spec stands now (where I think
> it intends not to allow full expressions), I don't think it really
> depends on Javascript. It does depend on the language having some way
> to represent structured data. I.e. that the language can hold
> something like:
>
> { foo: "bar",
>  complex: { p1: "hello", p2: "world"} }
>
> I'm not really sure how you would return a value like that to
> Objective-C. How does WebKit intend to deal with that in APIs where
> this issue already exist, such as postMessage?

Surely any language that has some way of dealing with JSON already has
an answer for this, correct?

~TJ

Received on Monday, 24 May 2010 20:26:15 UTC