[jQuery] Re: how to convert a string to json structure

2009-04-27 Thread Kean
http://www.json.org/ You can find information about the structure, JSON parsers in several languages etc. On Apr 27, 1:13 am, gaohk wrote: > I have a string that is like [{"carePacks": > [{"businessCode":"J1PS","description":"HP 1"}],"coveragePeriod":12}, > {"carePacks":[{"businessCode":"J1PS",

[jQuery] Re: how to convert a string to json structure

2009-04-27 Thread Scott Sauyet
gaohk wrote: I have a string that is like [{"carePacks": [{"businessCode":"J1PS","description":"HP 1"}],"coveragePeriod":12}, {"carePacks":[{"businessCode":"J1PS","description":"HP s"}],"coveragePeriod":13}]. can you give me some advice on how to convert it to a json structure, and how to get da