I have some JSON with the following structure:
{
0: {
"msg_title": "question"
"msg_id": "2716"
"msg_body": "hi hello"
"reply_time": "2015-12-04 06:55:16"
"user_id": "40"
"msg_status": "Sent"
"total_replies": "0"
}-
1: {
"msg_title": "question"
"msg_id": "2719"
"msg_body": "how are you"
"reply_time": "2015-12-04 06:55:16"
"user_id": "42"
"msg_status": "Sent"
"total_replies": "1"
}
}
I have named this JSON string as getResult. I'm trying to access the elements "msg_body" , "reply_time" etc for an Array of 0: to total: