JSON.PARSE (Anónimo)

var textarea = data.replace(/(\r\n|\n|\r)/gm, "")
Open Octopus