JSON reader cannot parse integers for legacy $date syntax

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: json, libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      933fd98 from CDRIVER-2128 removed the JSON reader's ability to parse legacy $date integers. Attempting to parse such dates now emits an error, such as:

      Unexpected integer 1416445411987 in type "datetime"

      We should revert that commit and add some tests for reading legacy values.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: