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

Investigate whether `Bson::to_extended_document` can be removed

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: