Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1880

Recursive serialization and deserialization

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Scheduled
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 3.4.0
    • Fix Version/s: None
    • Component/s: BSON
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      I'm currently writing generic template function that will recursively serialize and deserialize the object from document::element. Everything works fine until it encounters an array field.

      array::element currently inherits document::element, therefore important function key() is not available to check field name before deserializing. 

      Please see the code comment line#6.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: