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

When reading an extended JSON BsonTimestamp be lenient about element order

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.7.0
    • 2.6.0
    • BSON, Json
    • 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

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: