export json should use promoteValues: false when running the query or aggregation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.43.5
    • Affects Version/s: None
    • Component/s: Import/Export
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2
    • Iteration Gamma Rays
    • Not Needed
    • None
    • Developer Tools

      Insert this doc (EJSON syntax):

       { "double":

      { "$numberDouble": 1}

      }

       

      Then export to json with canonical syntax. It exports { double: 1 }.

      We should add promoteValues: false to the input find or aggregate query just like we do when exporting csv.

       

      A bunch of expected test results will likely have to be replaced.

            Assignee:
            Rhys Howell
            Reporter:
            Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: