I need to parse a php received string to behave like a object literal. I'm trying with json.parse but I got this error "JSON Parse error: Expected ']'". I'm not seeing why, can you please have a look to this code?
Thanks
Note this data variable is a copy/paste from what php returns just for testing
var data = "{\"29-05-yyyy\":[\"<li><div class=\"vazio\"></div><div class=\"linha\"><span>Parabéns!</span></div><div class=\"vazio\"></div></li>\"]}";
alert(JSON.parse(data));