Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-190

Symbol type json support in mongoimport/export

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • mongoexport, mongoimport
    • None
    • Platforms 2017-02-13

    Description

      Mongo tools (mongoimport/export) now makes no distinction between String and Symbol BSON types when importing/exporting into the json.

      This makes difficult to use these tools for data transfer in projects where symbols are explicitly used.

      It would be great to read/write symbols in json in a similar way other nontrivial types are stored in json now, like

      {key: {$sym: 'value'}}

      Attachments

        Activity

          People

            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            cail Igor Russkih
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: