Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-233

Add predefined CSVFormats for printing MongoDB CSV and TSV

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7
    • None
    • None

    Description

      Add predefinedĀ CSVFormat constants for MongoDB CSV and TSV.

      Example export fromĀ mongoexport of the same collection of 1 in CSV:

      name1,name2,name3,name4
      a,"a ""c"" b","c,d",e
      

      And JSON for comparison of the handling of comma and double quote in values.

      {"_id":{"$oid":"5bcb746f02defa3ec4758828"},"name1":"a","name2":"a \"c\" b","name3":"c,d","name4":"e"}
      

      To support parsing, we need more work internally...

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: