Hey,

there's no direct way currently. However, the JSON::Parse method also just
forwards to the JSON.parse JavaScript method.

best
-jochen


On Tue, Aug 20, 2013 at 11:04 PM, Luke <[email protected]> wrote:

> There seems to be a way to convert JSON to Handle<Value>:
>
> class V8_EXPORT JSON {
>  public:
>   static Local<Value> Parse(Local<String> json_string);
> };
>
> But how do I do the reverse Handle<Value> to JSON?
>
> I found this:
>
> http://stackoverflow.com/a/9867907/867760
>
> Which seems to pull the "stringify" function from the JavaScript Context.
>
> Is there a more direct way to do it, like the Parse function above?
>
> Luke
>
> --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to