Closed fsmuzawar closed 1 year ago
Hello everyone,
when I try to unparse using Papa.unparse(data, config) and below config -> the function completely ignores the quoteChar specified and generates the output asJhon, Doe, 32 years instead of "Jhon", "Doe", "32 years"
Papa.unparse(data, config)
Jhon, Doe, 32 years
"Jhon", "Doe", "32 years"
const config = { delimeter: ',', quoteChar: '"', escapeChar: '"', dynamicTyping: false, header: false, }; const data = {firstname:"Jhon", lastname:"Doe", age:"32 years"}
is there anyway to resolve this ?
sorry, the answer is there in the documentation -> quotes: true,
Hello everyone,
when I try to unparse using
Papa.unparse(data, config)
and below config -> the function completely ignores the quoteChar specified and generates the output asJhon, Doe, 32 years
instead of"Jhon", "Doe", "32 years"
is there anyway to resolve this ?