Deserializing JSON from Facebook

Jul 23, 2010 at 3:37 PM
Edited Jul 23, 2010 at 4:07 PM
Hi, I need some help here. I have JSON String like this


{
"data": [
{
 "id": "1083584362_142495082443662",
 "from": {
  "name": "Meilissa Ochee",
  "id": "1083584362"
},
 "to": {
 "data": [
  {
  "name": "Sari Zange",
  "id": "1093810656"
  }
 ]
},
"message": "Sedang mengajar Sari Zange bermain gitar ..\n\nBagaikan orang buta menuntun orang buta .. HAhhaa ...",
"actions": [
  {
  "name": "Comment",
  "link": "http://www.facebook.com/1083584362/posts/142495082443662"
  },
  {
   "name": "Like",
   "link": "http://www.facebook.com/1083584362/posts/142495082443662"
  }
],
  "type": "status",
 "created_time": "2010-07-23T08:36:12+0000",
 "updated_time": "2010-07-23T08:36:12+0000"
},
{
  "id": "1220164322_125685167476883",
 "from": {
   "name": "Bhinawan Whendy",
  "id": "1220164322"
  },
 "message": "GJ.... pol....",
 "actions": [
 {
  "name": "Comment",   "link": "http://www.facebook.com/1220164322/posts/125685167476883"
 },
  {
   "name": "Like",
  "link": "http://www.facebook.com/1220164322/posts/125685167476883"
  }
  ],
 "type": "status",
 "created_time": "2010-07-23T08:30:05+0000",
 "updated_time": "2010-07-23T08:30:05+0000"
  },
 {
  "id": "100001304105592_141689359182039",
  "from": {
   "name": "Cenardy Edbert Salim",
   "id": "100001304105592"
  },
  "message": "klo dak ada di bikin otak pasti lapar~ ckkc",
 "actions": [
  {
   "name": "Comment",
  "link": "http://www.facebook.com/100001304105592/posts/141689359182039"
  },
  {
  "name": "Like",
  "link": "http://www.facebook.com/100001304105592/posts/141689359182039"
  }
],
 "type": "status",
 "created_time": "2010-07-23T08:29:29+0000",
 "updated_time": "2010-07-23T08:35:32+0000",
 "likes": 1,
 "comments": {
   "data": [
  {
  "id": "100001304105592_141689359182039_1120515",
  "from": {
    "name": "Patricia Audrey Lompo",
   "id": "1010108214"
   },
  "message": "mmg pada dasarnya balala..haha",
   "created_time": "2010-07-23T08:32:25+0000"
 },
  {
   "id": "100001304105592_141689359182039_1120525",
   "from": {
   "name": "Cenardy Edbert Salim",
   "id": "100001304105592"
  },
  "message": "zzzz == ",
  "created_time": "2010-07-23T08:35:05+0000"
  },
  {
  "id": "100001304105592_141689359182039_1120529",
  "from": {
    "name": "Patricia Audrey Lompo",
    "id": "1010108214"
  },
    "message": "haha ;p",
   "created_time": "2010-07-23T08:35:32+0000"
  }
],
"count": 3
}
}
]

For the first step, I only need "from" field, "message" and "actions". I've tried the documentation, but still can't find the answer. Can anybody help me?