Eliminar los caracteres de escape de los datos JSON
var finalData = str.replace(/\r\n/, "");
// Input : "ABC\r\n" Output:"ABC"
Lonely Lyrebird
var finalData = str.replace(/\r\n/, "");
// Input : "ABC\r\n" Output:"ABC"