I have a variable named "text" in javascript and it contains following value
text={"text":"@RT #Olle_Carly Nuevas filtraciones del iPhone 6: así sería comparado con el Samsung Galaxy S5 y el iPhone 5S: Des... http://t.co/eRuXLS6N3M"};
I parsed it using
JSON.parse(text);
But it gives the following error
Unexpected token
How to solve the error.. Thanks in advance.....
arrayobject, not JSON. Just don't use `JSON.parse` to solve the problem. – Felix Kling Jun 25 '14 at 05:06