You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/10/21 02:01:00 UTC
[jira] [Updated] (CSV-233) Add predefined CSVFormats for printing
MongoDB CSV and TSV
[ https://issues.apache.org/jira/browse/CSV-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory updated CSV-233:
-----------------------------
Summary: Add predefined CSVFormats for printing MongoDB CSV and TSV (was: Add predefined CSVFormats for MongoDB CSV and TSV)
> Add predefined CSVFormats for printing 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)