Hello Yarlee,

To parse the JSON string you can use the *json_parse* method in
http://www.json.org/json_parser.js

Similarly, to convert an object to JSON string you can use the *
.toJSONString* method in http://www.json.org/json.js

The syntax will be like this:

var myjsonstring = myObject.toJSONString();


Thanks and Regards,
Bijoy Thangaraj


On Fri, Aug 21, 2009 at 12:14 AM, Yarlee <[email protected]> wrote:

>
> Hello All,
>
> I am trying to use json in my gadget. I have a json object in which I
> have an array. Now I want to add and delete objects to that array. For
> this purpose I need to parse the json object and again convert the
> parsed object back to json. Could anybody suggest a way to accomplish
> this. I tried using the following links
>
> http://www.json.org/json2.js
>
> Thanks in advance.
>
> Yarlee
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-desktop-developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to