EJSON serializes non-finite Doubles as null in relaxed mode

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.4.1
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Spec: https://github.com/mongodb/specifications/blob/master/source/extended-json.rst#conversion-table

      For non-finite doubles, the relaxed entry reads “Same as Canonical Extended JSON”, which implies that $numberDouble should be used in relaxed mode as well.

              Assignee:
              Anna Henningsen
              Reporter:
              Anna Henningsen
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: