Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6812

Extended JSON syntax should support all BSON types

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • Internal Code, Tools
    • None

    Description

      It's not clear exactly what Extended JSON syntax is meant to be used for, but if anyone is trying to use it for backup or archiving purposes, they might reasonably care about preserving numeric type information (e.g., float/int32/int64 distinction), as well as any other BSON type we choose to introduce.

      If we were to do this, I guess mongoexport should have a flag for whether to represent integers in JSON syntax (lossy, but backward compatible and better for interoperability with other JSON tools), or in Extended JSON syntax.

      I suppose the same consideration would apply to the symbol type, though probably nobody uses that.

      Attachments

        Issue Links

          Activity

            People

              geert.bosch@mongodb.com Geert Bosch
              richard.kreuter Richard Kreuter (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: