Look into JSONObject and JSONArray.. Makes it real easy to parse JSON.



On Apr 7, 9:12 am, Eddie Ringle <ed...@eringle.net> wrote:
> By the way, that is invalid JSON.
>
> On Apr 7, 5:05 am, Maxood <maqs...@salsoft.net> wrote:
>
>
>
> > I have the following JSON text that i need to parse to get pageName,
> > pagePic, post_id, etc. What is the required code?
> > pageInfo: {
> > pageName: abc
> > pagePic:http://profile.ak.fbcdn.net/object2/367/…}
>
> > posts: [
> > {
> > post_id: 160119538822_302076968822
> > actor_id: 1183856639
> > picOfPersonWhoPosted:http://profile.ak.fbcdn.net/hprofile-ak-…
> > nameOfPersonWhoPosted: Andrea Raquel
> > message: Sounds cool. Can't wait to see it!
> > likesCount: 2
> > comments: [
> > ]
> > timeOfPost: 1266036226
>
> > }

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to