fixed;
I'm using a simple jQuery to download text off a server, datatype json.
$.get('http://169.254.100.5/ajax.php',{action:'p',i:'{$data['id']}'},function(data)
{
     $.each(data.responses, function(i,response)
     {
       alert(response.longtext)
     }
}
When response.longtext is short (less than 1000 chars like "hello world") i have no problem and the script behaves normally.
When response.longtext is long (like a paragraph of lorem ipsum) i get a parsererror.
I did some experimenting and rewrote it using $.ajax(...) and dropped the $.each method and I still get a parser error.
error: function(XMLHttpRequest, textStatus, errorThrown) 
{
    alert("err: "  + textStatus);
}