Possible Duplicate:
Reading a Json Array in android
my json string is like
String jsonString = "[{"NotificationID":115,"TaskID":129,"Sender":"v...@live.com","NotificatonMessage":"dd","NotificationCategory":"missed"},{"NotificationID":114,"TaskID":129,"Sender":"v...@live.com","NotificatonMessage":"129","NotificationCategory":"opened"},{"NotificationID":112,"TaskID":129,"Sender":"v...@live.com","NotificatonMessage":"dd","NotificationCategory":"missed"},{"NotificationID":111,"TaskID":129,"Sender":"d...@hotmail.com","NotificatonMessage":"You have been Assigned Task Bydip_shres@hotmail.com","NotificationCategory":"notify"},{"NotificationID":72,"TaskID":125,"Sender":"d...@yahoo.com","NotificatonMessage":"You have been Assigned Task Byd.stha1st@yahoo.com","NotificationCategory":"notify"}]";
I want to convert it to jsonobject. I am doing this..
jsonObject = new JSONObject(jsonString);
but its throwing JSONException... how can i convert such string to jsonarray ?