From: Matthias Ernst <matth...@mernst.org>
Date: Thu, 21 Jun 2012 11:47:55 +0200
Local: Thurs, Jun 21 2012 5:47 am
Subject: Re: [v8-users] Re: Does V8 has methods to parse json in c++.
On Thu, Jun 21, 2012 at 12:49 AM, Mark Essel <mes...@gmail.com> wrote:
You're using it already: obj_handle->Get(propertyName)
> Just wanted to say thanks for asking this question Guilherme. I know have > access to a straight forward json parser for my native module. > when walking the jsonObject that results from the parsing do you loop over > properties to find the keys of interest or is there a rapid/hashlike lookup > available? > ie
> Handle<Context> context = Context::GetCurrent();
> Handle<Object> JSON = global->Get(String::New("JSON"))->ToObject();
> // return JSON.parse.apply(JSON, jsonString);
> then on the returned Handle<Value> obj
> Local<Array> propertyNames = obj->GetPropertyNames();
> or recursively walk the json tree
> On Sunday, June 10, 2012 5:30:10 PM UTC-4, Guilherme Silva wrote:
>> Thanks everybody for your replies! I want to create a Script Manager that
> --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||