Usuń znaki ucieczki z danych 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"