Smart way to handle HTTPRequest.responseText

I'm new to HTTPRequests and now i have a question. I recieve a responseText like this:

{
"data":[ 

  {
     "id": "XXX1",
     "from": {
        "name": "name",
        "id": "YYYY"
     },
     "subject": "SecondTitle",
     "message": "Content - Second Note",
     "icon": "https://s-static.ak.facebook.com/rsrc.php/v1/yY/r/1gBp2bDGEuh.gif",
     "created_time": "2012-05-02T09:25:24+0000",
     "updated_time": "2012-05-02T09:25:24+0000"
  },
  {
     "id": "XXX2",
     "from": {
        "name": "name",
        "id": "YYYY"
     },
     "subject": "FirstTitle",
     "message": "Content - First Note",
     "icon": "https://s-static.ak.facebook.com/rsrc.php/v1/yY/r/1gBp2bDGEuh.gif",
     "created_time": "2012-05-01T20:40:16+0000",
     "updated_time": "2012-05-01T20:40:16+0000"
  }
 ],
"paging": {
  "previous": "https://graph.facebook.com/XXX/notes?access_token=ACCESS_TOKEN]&limit=25&since=1335950724&__previous=1", 
  "next": "https://graph.facebook.com/XXX/notes?access_token=[ACCESS_TOKEN]&limit=25&until=1335904815"
   }
}

What i'm trying to do, is to get a multidimensional Array that looks like this:

Array[0][0] = "SecondTitle"
Array[0][1] = "Content - Second Note"
Array[0][2] = "2012-05-02T09:25:24+0000" (created_time)
Array[1][0] = "FirstTitle"
Array[1][1] = "Content - First Note"
Array[1][2] = "2012-05-01T20:40:16+0000"

Is there a smart way to do this? Or do i have to work with string manipulation?

Answers


Need Your Help

Is it possible to use data annotations for LabelFor,ValidationMessageFor, EditorFor with strongly typed resources?

asp.net asp.net-mvc localization asp.net-mvc-2 data-annotations

I would like to use DataAnnotations in my ASP.NET MVC application. I have strongly typed resources class and would like to define in my view models:

Bentley-Ottmann Algorithm For Two Groups of Lines Segments

algorithm geometry computational-geometry line-intersection

The Bentley-Ottmann algorithm is used for the computation of intersection of line segments.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.