Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2303

When reading an extended JSON BsonTimestamp be lenient about element order

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: Bson, Json
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: