buscar sintaxerror: token inesperado
JSON.parse(theStringThatIsNotJson);

Breakable Beaver