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

Investigate whether `Bson::to_extended_document` can be removed

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      The BSON library currently has a (private) method on the Bson type that converts it into a document with keys and values mirroring the extended JSON representation of the type. This is currently used in the implementation of serde decoding/encoding, but it duplicates a lot of the logic in the extended JSON implementation. We should investigate if it's possible to either update the serde implementation so that it doesn't need this functionality or unify the logic between this method and the extended JSON implementation.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: