$.ajax({ async: false, type: \"POST\", url: url+\"module/listing/\"+projectId, data: \"ajax=true\", success: function(response) { $.each(resp
I got this error after I encoded twice a JSON array. Maybe it will help anybody.