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

Add a mechanism to add filters to (de)serialization.

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Works as Designed
    • 1.4
    • None
    • Feature Request
    • None
    • Fully Compatible

    Description

      It would be useful to have a mechanism to customize the serialization of a field without implementing a custom serializer. For example, if I have an automapped class, I might want to add some value escaping/unescapping to some string properties. This might be specially useful when a string contains characters that are illegal in MongoDB, such as the dot in keys.

      Attachments

        Issue Links

          Activity

            People

              robert@mongodb.com Robert Stam
              smolav Santiago M. Mola
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: