Extended JSON should default to using native number type in non-strict mode

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.0.0
    • Affects Version/s: None
    • Component/s: EJSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      From fonger's pull request

      MongoDB node.js driver will store JavaScript Number as Double type by default. So I think parsing in non-strict mode, Double should cast to number. Furthermore, JavaScript numbers are always stored as double precision floating point numbers, following the IEEE 754 standard.

      see this pull request

            Assignee:
            Matt Broadstone
            Reporter:
            Matt Broadstone
            None
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: