[webkit-help] JSC: JSValueCreateJSONString
bfulgham at gmail.com
Thu Jun 10 08:38:21 PDT 2010
On Jun 5, 2010, at 4:37 PM, Brian Barnes wrote:
> I would like to save the state of several scripts. My system is event driven so there is never any script in an executing state when I save/load. This means all I need to save is the global object. Looking through the headers I found:
> This, of course, is perfect for me, but it doesn't seem to be implemented in my build (which is pretty recent.) This might be a mis-understanding on my part about how to get these features in, or it's just not implemented yet (the actually function address is NULL.)
> Is this me not understanding the code or is this a feature I'll have to wait for? I should point out that I'm just grabbing the nightly build and pulling out the framework. Is there another way to serialize/de-serialize an object in a script?
I'm not sure which OS you are running on (or which version of Safari is installed). The header indicates this feature should be present as of Safari 4.0, so it seems likely that even the system WebKit would have it, but it's worth double-checking.
Aside from that, I would expect the feature to be present. I'll see if I can try this out myself and suggest anything else.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help