Closed thinkjson closed 11 years ago
We're using this extensively in production now, and the changes above are essential for escaping data with quotes. We're using my repository at the moment, but it would be really cool if this pull request could be merged.
Thanks for your patch, however i'm re-implementing in golang to clean up this code base and improve it a bit. As a result i'm closing this issue in favor of changes in #7
I had a feeling that was coming. I'm watching the repository now, so do you want me to submit a new set of unit tests once that code has been merged?
This pull request fixes string escaping for numbers, escape codes like \n and \t, quotes (the CSV 'standard' specifies "" to escape a "), and nulls. We've also fixes a memory leak.