Re: [android-developers] how to parse this string using json
Sorry there was typo. I meant
String s = [{"id": 1, "fields": {"Name": "hello1", "Age": "10" }},
{"id": 2, "fields": {"Name": "hello2", "Age": "12"}}]
I am not able to convert this into JSON array.
--RJ
On Tue, Jun 15, 2010 at 10:15 PM, Frank Weiss <feweiss@gmail.com> wrote:
> Sorry, I though you knew JSON better.
>
> There's "id":2, OK
> Then there's "model": "fields":
> Remove "model":
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home