When reading an extended JSON BsonTimestamp be lenient about element order

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.7.0
    • Affects Version/s: 2.6.0
    • Component/s: BSON, Json
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When reading extended JSON either of the following should work:

      { $timestamp : { t : 1, i : 2 } }
      
      { $timestamp : { i : 2, t : 1 } } 

      The order of the t and i elements should not matter.

      Both orders are present in various JSON driven tests so we need to support both.

            Assignee:
            Robert Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: