[
[
{
"Id": 1234,
"PersonId": 1,
"Message": "hiii",
"Image": "5_201309091104109.jpg",
"Likes": 7,
"Status": 1,
"OtherId": 3,
"Friends": 0
}
],
[
{
"Id": 201309091100159,
"PersonId": 1,
"Message": "heyyyyyyyy",
"Image": "",
"Likes": 2,
"Status": 1,
"OtherId": 3,
"Friends": 3
}
]
]
I am trying to parse this JSON data in javascript,but its giving an error "SyntaxError: JSON.parse: unexpected character" Tell me how to parse or access this json data and how to get numbers of records saved in JSON data.
I am running this on firefox ..Please help me to resolve this problem.Thanks in advance
{}you are not seeing it which is inside curly braces. Paste it to notepad and usebackspaceyou will find three chars there.