Monday, April 27, 2009

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

http://www.json.org/
You can find information about the structure, JSON parsers in several
languages etc.


On Apr 27, 1:13 am, gaohk <cnga...@gmail.com> 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 data from the data structure, like get "HP 1".

No comments:

Post a Comment