mongoimport converts ints to doubles

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoimport
    • None

      While taking the final exam of M101P class, I noticed the validate script was broken by the use of doubles rather than ints.

      Import this JSON document:

      { "_id" : 998, "images" : [ 2491, 2617, 4830] }

      and the items in the images array get converted to doubles.
      Geert checked and 2.6 doesn't do this. We think this is not desirable?

              Assignee:
              Shraya Ramani (Inactive)
              Reporter:
              Martin Bligh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: