[
https://issues.apache.org/jira/browse/CSV-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory updated CSV-233:
-----------------------------
Description:
Add predefined {{CSVFormat}} constants for MongoDB CSV and TSV.
Example export from {{mongoexport}} of the same collection of 1 in CSV:
{noformat}
name1,name2,name3,name4
a,"a ""c"" b","c,d",e
{noformat}
And JSON for comparison of the handling of comma and double quote in values.
{noformat}
{"_id":{"$oid":"5bcb746f02defa3ec4758828"},"name1":"a","name2":"a \"c\"
b","name3":"c,d","name4":"e"}
{noformat}
was:
Add predefined {{CSVFormat}} constants for MongoDB CSV and TSV.
Example export of the same collection of 1 in CSV:
{noformat}
name1,name2,name3,name4
a,"a ""c"" b","c,d",e
{noformat}
And JSON for comparison of the handling of comma and double quote in values.
{noformat}
{"_id":{"$oid":"5bcb746f02defa3ec4758828"},"name1":"a","name2":"a \"c\"
b","name3":"c,d","name4":"e"}
{noformat}
> Add predefined CSVFormats for MongoDB CSV and TSV
> -------------------------------------------------
>
> Key: CSV-233
> URL: https://issues.apache.org/jira/browse/CSV-233
> Project: Commons CSV
> Issue Type: New Feature
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Priority: Major
>
> Add predefined {{CSVFormat}} constants for MongoDB CSV and TSV.
> Example export from {{mongoexport}} of the same collection of 1 in CSV:
> {noformat}
> name1,name2,name3,name4
> a,"a ""c"" b","c,d",e
> {noformat}
> And JSON for comparison of the handling of comma and double quote in values.
> {noformat}
> {"_id":{"$oid":"5bcb746f02defa3ec4758828"},"name1":"a","name2":"a \"c\"
> b","name3":"c,d","name4":"e"}
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)