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

Support serialization options for Array and Dictionary values

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4, 1.5
    • 1.3.1, 1.4.2
    • None
    • None

    Description

      Support serialization options for Array and Dictionary values. For example, given the types:

      [Flags]
      public enum F { ... }
       
      public class C {
          public ObjectId Id;
          public List<F> A;
          public Dictionary<string, F> D;
      }

      we want to be able to apply serialization options to the F values to serialize them as strings (this is just one example, F could be any other type).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: