Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-602

Deserialize ObjectId from a hex string

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: bson-1.2.0
    • Component/s: None
    • Labels:

      Description

      Users often represent a bson::ObjectId with a hex string in JSON rather than its extended JSON format. The Deserialize implementation for ObjectId should be updated to attempt to deserialize both from a hex string and extended JSON so users can use both formats.

        Attachments

          Activity

            People

            Assignee:
            isabel.atkinson Isabel Atkinson
            Reporter:
            isabel.atkinson Isabel Atkinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: